- 08 Nov 2024
- 1 Minute to read
- Print
- DarkLight
Localization
- Updated on 08 Nov 2024
- 1 Minute to read
- Print
- DarkLight
eCommerce allows localization for the following languages:
Locale | Locale key |
---|---|
English | en |
German | de |
Chinese | zh |
The eCommerce application checks a user’s locale to display the corresponding language. If your eCommerce configuration doesn’t support the user’s locale, the eCommerce application will display English by default.
For elements of the eCommerce application that aren’t managed in eCommerce, maintain localization through Zilliant CPQ.
There are differences when maintaining locale files for eCommerce and for Zilliant CPQ. This topic covers how to maintain localization only for eCommerce.
Maintain custom locale files
The directory structure for locale files is mapped to how the Zilliant system retrieves files, then implements them in the eCommerce application. When managing locale files, maintain the directory structure. To update a locale, contact your Zilliant representative for a translation.json
file and perform the following steps.
To maintain custom locale files in Zilliant CPQ:
- From the left navigation area, select Administration.
- From the top navigation bar, select Content Management.Tip
If you don't see this menu item, select Open dropdown menu at the right end of the navigation bar, or select the left and right arrows to move through the navigation bar.
- Select userdata > attachment > PortalSettings.
- Select locales. All locale files are maintained in this folder, with subfolders for each language.Note
If your system is new, create a locales directory with the following structure:
/locales/<localeKey>/translation.json
Replace<localeKey>
with the relevant locale key.
Always validate if there are any markup errors.