To add a locale, perform the following steps.
Edit the uwcdomainconfig.properties file. This file is available in the <uwc-deploy-dir>/WEB-INF/domain directory>
Add a keyword for the new locale that needs to be added. For example, if you need to add a new locale, “Afrikaans”
supportedLanguages=en;es;de;fr;ja;ko;zh-CN;zh-TW;Afrikaans |
Add a localized string for the locale name in different locales. This could be done by adding a new line in i18n.properties file of each locale. For example, let us add a key in i18n.properties file for en locale.
uwc-common-options-preferredLanguage-Afrikaans=Afrkaans Locale |