{"id":5832,"date":"2020-10-26T05:06:53","date_gmt":"2020-10-26T05:06:53","guid":{"rendered":"https:\/\/litextension.com\/faq\/docs\/shopping-cart-questions\/opencart\/how-to-add-multiple-languages-in-opencart\/"},"modified":"2021-05-14T04:28:09","modified_gmt":"2021-05-14T04:28:09","slug":"how-to-add-multiple-languages-in-opencart","status":"publish","type":"docs","link":"https:\/\/litextension.com\/faq\/docs\/shopping-cart-questions\/opencart\/how-to-add-multiple-languages-in-opencart\/","title":{"rendered":"How to add multiple languages in OpenCart?"},"content":{"rendered":"<p>With shops serving a wider array of customers across multiple countries, it may become necessary to add multiple language options for your customers. The default language provided from the installation is English. Other available languages can be viewed on the OpenCart\u00a0<a href=\"http:\/\/www.opencart.com\/index.php?route=feature\/feature&amp;path=17\" target=\"_blank\" rel=\"noopener\">Language<\/a>\u00a0page. These language packs can be downloaded through the\u00a0<a href=\"http:\/\/www.opencart.com\/index.php?route=extension\/extension&amp;path=2\" target=\"_blank\" rel=\"noopener\">Extension Directory.<\/a><\/p>\n<h3>Install language pack by Extension Installer<\/h3>\n<p>OpenCart 3 is much more user friendly to install a new language pack than before, user only need to download the\u00a0<strong>*.ocmod.zip<\/strong>\u00a0and goto the\u00a0<a href=\"http:\/\/docs.opencart.com\/en-gb\/extension\/installer\/\" target=\"_blank\" rel=\"noopener\">Installer<\/a>\u00a0page, upload the zip file and wait for the install completed.<\/p>\n<p>Similer with the other extensions, after install the\u00a0<strong>*.ocmod.zip<\/strong>, click into the\u00a0<strong>Modification<\/strong>\u00a0page, press \u00a0\u00a0<i class=\"fas fa-eraser\"><\/i>\u00a0Clear \u00a0 and \u00a0\u00a0<i class=\"fas fa-sync-alt\"><\/i>\u00a0Refresh \u00a0 button to make sure the cache is removed. Then goto the Languages from System Localisation menu and create the new language. For details about add and edit Language, click\u00a0<a href=\"http:\/\/docs.opencart.com\/en-gb\/system\/localisation\/language\/\" target=\"_blank\" rel=\"noopener\">here<\/a>.<\/p>\n<p class=\"text-center\"><img decoding=\"async\" class=\"img-responsive\" src=\"http:\/\/docs.opencart.com\/image\/administration\/admin-system-languages-list.png\" alt=\"Installed language in Language List\" \/><\/p>\n<p>When the new language is endable to use in the OpenCart system, goto the System\u00a0<strong>Setting<\/strong>\u00a0page and choose the language for store front and admin side, just like the figure show below.<\/p>\n<p class=\"text-center\"><img decoding=\"async\" class=\"img-responsive\" src=\"http:\/\/docs.opencart.com\/image\/administration\/admin-languages-store-setting.png\" alt=\"Select language for store front and admin\" \/><\/p>\n<p>Once the language already install, the store front will display the language option on the top left conrner, next to the currency. (Example for default theme below)<\/p>\n<p class=\"text-center\"><img decoding=\"async\" class=\"img-responsive\" src=\"http:\/\/docs.opencart.com\/image\/administration\/store-front-languages-select.png\" alt=\"Store Front - Multi Languages Select\" \/><\/p>\n<hr \/>\n<h3>FTP a language pack to an OpenCart store<\/h3>\n<p>Any language pack that isn&#8217;t English needs to be uploaded to OpenCart, post installation, using an FTP client like FileZilla. Before we continue, please make sure that you have downloaded your language pack from the Extension Directory and uncompressed the download contents to a location on your computer. Connect to your OpenCart store in the FTP client. Locate the root directory of where the OpenCart store was installed. From there, open the path Catalog&gt;Language. If this is your first time here, you will see an &#8220;english&#8221; folder already in this location. In Catalog&gt;Language, upload your new language pack to this location.<\/p>\n<p class=\"text-center\"><img decoding=\"async\" class=\"img-thumbnail\" src=\"http:\/\/docs.opencart.com\/image\/ftp%20language.png\" alt=\"ftp language\" \/><\/p>\n<h3>Adding a language to the administration<\/h3>\n<p>The OpenCart administration requires some specific information in the System area about the language after you FTP it. Visit\u00a0<a href=\"http:\/\/docs.opencart.com\/en-gb\/system\/localisation\/language\/\" target=\"_blank\" rel=\"noopener\">Localisation\u00a0<\/a>to see what fields are required. After the language is saved there, the language name will appear in the language list under Localisation&gt;Language.<\/p>\n<h3>Changing a language in the store front<\/h3>\n<p>Saving a language pack in Localisation will make it immediately available in the store front. The language area is located in the header of every page, from the left top corner. In achieve the example below, a French language pack was downloaded and FTP&#8217;d to OpenCart. By assigning French an assorting order of 2, it is displayed below of English in the header of every page of our store. The customer can click on the French flag in the header to change the language.<\/p>\n<p class=\"text-center\"><img decoding=\"async\" class=\"img-thumbnail\" src=\"http:\/\/docs.opencart.com\/image\/admin-interface-language.png\" alt=\"multi language frontend\" \/><\/p>\n<p>Source:\u00a0<em>http:\/\/docs.opencart.com\/en-gb\/administration\/language\/\u00a0<\/em><\/p>\n<div id=\"eJOY__extension_root\" class=\"eJOY__extension_root_class\" style=\"all: unset;\"><\/div>\n","protected":false},"author":1,"featured_media":0,"parent":22,"menu_order":7,"comment_status":"open","ping_status":"closed","template":"","meta":{"footnotes":""},"doc_tag":[],"class_list":["post-5832","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/5832","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/comments?post=5832"}],"version-history":[{"count":3,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/5832\/revisions"}],"predecessor-version":[{"id":6252,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/5832\/revisions\/6252"}],"up":[{"embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/22"}],"next":[{"title":"How to create a Multi-Store in OpenCart?","link":"https:\/\/litextension.com\/faq\/docs\/shopping-cart-questions\/opencart\/how-to-create-a-multi-store-in-opencart\/","href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/5840"}],"prev":[{"title":"How to perform SEO Migration to OpenCart?","link":"https:\/\/litextension.com\/faq\/docs\/shopping-cart-questions\/opencart\/how-to-perform-seo-migration-to-opencart\/","href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/docs\/1012"}],"wp:attachment":[{"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/media?parent=5832"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/litextension.com\/faq\/wp-json\/wp\/v2\/doc_tag?post=5832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}