Using Locales Beyond a Different Language

You can use different templates for different locales, even though the locales share the same language. You can also share templates between different locales with the same language.

For example, a company set up a multi-site environment with three sites:

Select the correct locale for each site: en_US for the US, en_GB for the UK and en_IE for Ireland. All main templates are shared between these locales. You can implement country-specific changes to each site, for example, show the different country icons in the top left-hand corner of the Welcome page.

To achieve this effect, use three welcome templates with three different images or logos. Store the welcome.isml template in different folders specific for each locale:

.../cartridge/templates/en_GB/welcome.isml
.../cartridge/templates/en_IE/welcome.isml
.../cartridge/templates/en_US/welcome.isml
Note: The characters, xx_XX represent a combination of the language and the country. For example, en_US represents the English (en) language spoken in the USA (US), while en_IE represents the English language (en) spoken in Ireland (IE). Likewise, de_DE represents the German language (de) spoken in Germany (DE), while de_AT represents the German language (de) spoken in Austria (AT).
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.