In this tutorial we will show you how to add an additional language in Zen Cart, which allows you to change the default language of the Admin panel for Zen Cart. This is helpful when you have developers who speak different languages working on the site because it allows them to select their preferred language from a drop-down menu.
As a test we will add the Spanish language to a Zen Cart powered site.
A Language Pack for the language you are adding is required to complete this guide.
How to Add a New Language:
- Extract the language pack to your local computer.
- Using FTP upload the files to their specific folder, see the explanation below.
Zen Cart advises: Make sure the language files and directories are uploaded to the appropriate places, which are:
In my tests they were:
- Login to the Admin Panel for Zen Cart.
- In the menu roll your mouse over Localization, and click Languages.
- Click the new language button.
The New Language menu will open with several fields available.
Fill them in as needed, below is a description of the options.
||Enter the name of your new language here.
||Enter the 2-digit ISO 639-1 language code.
Enter the name of the icon from the language pack, this will most likely be:
Enter that name of the language directory, be sure to use capital letters if the folder name is in capitals. For example:
spanish, not Spanish
||The number you enter here will affect where this option will display on the Languages list. Zero will be at the top of the list, and higher numbers will be further down the list.
|Set as default
||Check this box to make this your default language.
After entering your selections, click the insert button. Now you will be able to select your new language from a drop-down menu after logging into the Zen Cart Admin panel.
Congratulations, now you are able to add a language to your Zen Cart site.