OpenCart

How to add a language to OpenCart?


It is important to ensure that the translation you are installing is compatible with the release of the shopping cart you are using.

We will show you in this tutorial how to add an extra language to your OpenCart installation.

The first thing to do here is to download the translation you need from the store official website.

When you have the distribution archive file of the language pack downloaded you can extract it on your local computer. There should be a new folder created under which you will have all the web scripts located. 

The next step is to upload the installation files under your hosting account. The language pack will come with two directories in the archive – catalog and admin –you should upload these under the public_html folder of your hosting account. For the upload of the files you may use your favorite FTP client by following the instructions in our ftp video tutorial.

The above tutorial is applicable if the store is accessible via yourdomain.com. If you have the store accessible via yourdomain.com/store/ the two folders should be uploaded under the public_html/store/.

The upload of the language files is now completed and we will proceed with the final step of the installation. You should login to your store admin back-end now from:

https://yourdomain.com/admin

If you have completed the installation under a subfolder “store” for an example the above URL will change to:

https://yourdomain.com/store/admin

When the admin back-end is completely rendered navigate to System Localisations Languages tab:



The page that will load now will allow you to insert the new language and allow your customers to use it. You will notice the “Insert” button at the very top right corner of the “Languages” page. When you click on that button the following page will load:



In each Language package all the fields’ information should be available in the ReadMe text file included in the archive. We have filled in the correct details for the French language pack as this is the one we have also uploaded. As soon as you have the form completed click on the save button at the very top right corner of the page.

The new language pack is now installed:



If you like to change the default language for your store front and back-end navigate to the System Settings Local tab:



There are two fields for the language:

Language: this is the front-end default language
Administration Language: this is the administrator panel language

Select the new translation you have installed from the drop down menus and click the save button available at the very top right corner of the page. 

After you refresh the page the new language for the menus should be loaded:



PeopleTMDHosting