Adding a missing language code
If a custom language code is added to Adobe Experience Manager, (example: en-us), a new language mapping needs to be set. This will enable XTM Cloud to map this newly added language to one of the languages that is present in XTM Cloud. To add languages that are not present in the XTM Cloud connector language mapping list, /apps/xtm/config/xtm/languageMapping, contact the XTM International Support team.
Alternatively, you can also follow these instructions to add a language to Adobe Experience Manager.
To request support
Visit our Support Portal.
In Adobe Experience Manager, select the General tab.
In the General screen, select the CRXDE Lite icon. The CRXDE Lite screen is displayed, in content tree view.
Note
CRXDE Lite is only available in local instances of the Adobe Experience Manager SDK.
In the content tree, select the
/apps/xtm/config/xtm/languageMapping
file. This contains a list of languages that are available in Adobe Experience Manager, and their mapping to XTM Cloud language codes.In the content tree, select the
/libs/wcm/core/resources/languages
folder.In it, create a new folder called
core
.Select Save All.
Caution
If an error message is displayed, you have not saved the core folder created in step 5.
In the content tree, select the
/libs/wcm/core/resources
folder.In it, right-click the Resources node, and copy it.
In the content tree, select and open the
/apps/wcm/core
folder.Paste the copied content into the
core
folder.Select Save All.
In the project's code, save the configuration you have created. One way to do this is to use the Jackrabbit FileVault tool (VLT), developed by The Apache Foundation. It maps the content of a Jackrabbit/AEM instance to your file system.
For more details, see How to use the VLT Tool | Adobe Experience Manager.
After you have added the configurations to the project's source code, check the filters configured in pom.xml. It is important to ensure that it contains the path on which the configurations are stored, so that they are included in the application package.
If you add a custom language to the Adobe Experience Manager system, add it to the mappings list to make it available for use in XTM Cloud translation projects.