This part of the 4.x documentation is for eZ Publish 4.0, only reference section is common for all eZ Publish 4.x versions as well as eZ Publish 5.x "LegacyStack", please select the version you are using for the most up to date documentation! |
From 3.9, it is possible to translate the names of countries to different languages. For example, you can instruct the system to use "Frankrike" instead of "France" and "Norge" instead of "Norway" whenever the list of countries is displayed on a siteaccess where Norwegian locale is used. The following example demonstrates how this can be done.
If you wish to replace the English country names of France and Norway with the Norwegian ones on a siteaccess that uses the Norwegian locale, you can do the following.
[CountryNames] Countries[] Countries[FR]=Frankrike Countries[NO]=Norge
After clearing the caches, the system will use Norwegian country names for France and Norway whenever the list of countries is displayed. The following screenshot shows how a translated country name will appear in the "Default selection" drop-down list when an attribute of the "ezcountry" datatype is being edited.
Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2013 eZ Systems AS (except where otherwise noted). All rights reserved.