Prestashop comes out of the box multilingual: a default language (it is one you use to install), and many more are available for download.
The “Languages” page handles the languages you see in your back office and in your stores.
This page displays the information already installed in your store, with some information: ISO code, language code, date format (short and full). You can enable or disable a language by clicking the icon in the “Enabled” column.
Adding a new language is a question of importing the localization pack from a country that uses that language (“Localization” page). If this changes, or if you need something customized, you can manually add a new language using the form on the back of the “Add new” button.
Creating new language
By creating a new language you have to translate all the text for prestashop’s front-end, background, modules, or even using the default English strings. The translation is done using the “translation” tool in the “localization” menu.
You can create a new language to fill a language pack that you can download from the prestashop site.
To create a new language, you need to fill out as many forms as possible:
- Name: The name is public. If you have created that language for regional purpose, you can refer to “French (Quebec)” by that name.
- ISO code: Enter enough 2-letter ISO 639-1 code. See more information (http://en.wikipedia.org/wiki/List_of_ISO_639-1_codes). If you import a language pack, you must match this code to the pack.
- Language code: Enter xx-yy, xx language as ISO symbol (as above), and yy ISO ISO code using the ISO 3166-1 alpha-2 (HTTP: // en), enter the 4-character language code. Observe (http://en.wikipedia.org/wiki/IETF_language_tag)
- Date format: Countries do not always represent a single date (see http://en.wikipedia.org/wiki/Date_format_by_country (http://en.wikipedia.org/wiki/Date_format_by_country) So, your shop display is 02/08/12, from France Customer understands “August 2, 2012”, while the US understands “February 8, 2012” – a Japanese customer can read it as “August 12, 2002.” By specifying the date format tied to your language. The letter must be that of PHP’s date () function (: http://php.net/manual/en/function.date.php.)
- Date format (full): The above date format is similar, but it has hour-minute format.
- Flag: Upload a picture of the flag that matches the language you want to add. It should be 16 * 11 pixels. We suggest that you use the free FamFamFam Flags Image Gallery: (http://www.famfamfam.com/lab/icons/flags/.)
- No –picture” image: When products do not have a picture upload an image to be displayed, that image is simply a blank image, with “No image” or “No image available” in this language. 250*250pixels. You can find current “No-picture” images in your prestashop install / img / l directory.
- RTL language: Some languages have been written from right to left, especially in Arabic or Hebrew characters (http://en.wikipedia.org/wiki/Right-to-left.) If a prestashop theme is well-encoded, it is made clear to handle the RTL language- offered it is clearly set as such.
- Position: You can disable a new language until you are ready to translate everything
- Shop Association: For example, targeting a specific language can only be available to select your stores.
Once your language is stored and operated, you can import the language to its language. This is done on the “translation” page in the “Localization” menu. Use the “Import a Language pack manually” tool.
Finally, ensure everything: Go to the front office of your store and click on the flags above. Similarly, customers can now select an additional language using these icons
Last Update: March 21, 2018