Adobe Experience Manager is flexible and can be configured for any language. AEM understands all ISO language codes, both 2 letter locales (en, fr, de) as well as 5 letter locales (en-US, fr-FR, de-DE).
List of default languages can be found in:
- CRXDE by navigating to
/libs/wcm/core/resources/languages
- Or if you create a
Translation Project
.
There are two steps for adding your custom language:
Add Custom Language to AEM
- Open up CRXDE (http://localhost:4502/crx/de/index.jsp) and then browse to /libs/wcm/core/resources/languages
- You will see the list of languages that you see in the Translation Project. The language list is sorted by language code and not the language name.
- Open Package Manager
- Create a package contained filter for the node /libs/wcm/core/resources/languages
- Build and download the package
- Extract package content to `ui.apps` module of your AEM customization project
- Add filter for the new content
- Update `ui.apps`’s structure module
- Move languages node from `/libs` to `/apps`
- Add a language to `languages` content in format (example)
<zh_tw
jcr:primaryType="nt:unstructured"
country="Taiwan region"
language="Chinese (Traditional)"/>
So, language list will be overlayed and deployed with your AEM customization project as a part of `apps.ui`
Configure Language Mapping for Smartling AEM Cloud Connector
Before you start to use the new custom language with the Smartling AEM Cloud Connector, you should set the proper language mapping (which locale in Smartling should be used for this language).
- Open CRXDE (http://localhost:4502/crx/de/index.jsp) and then browse to /apps/granite/translation/connector/config/smartling/languageMapping
- Open Package Manager
- Create a package contained filter for /apps/granite/translation/connector/config/smartling/languageMapping
- Build and download the package
- Extract package content into your `ui.apps` module of AEM customization project
- Add filter for new content
- Update `ui.apps`’s structure module
- Add a mapping for the new language in format
<zh_tw
jcr:primaryType="nt:unstructured"
languageMapping="zh-TW"/>
Language mappings will be a part of the `ui.apps` module and will be deployed to AEM Cloud with your AEM customization project altogether.