Skip to main content

XTM Connect – Adobe Experience Manager

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.

To add a language to Adobe Experience Manager:
  1. In Adobe Experience Manager, select the General tab.

  2. 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.

  3. 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.

  4. In the content tree, select the /libs/wcm/core/resources/languages folder.

  5. In it, create a new folder called core.

  6. Select Save All.

    Caution

    If an error message is displayed, you have not saved the core folder created in step 5.

  7. In the content tree, select the /libs/wcm/core/resources folder.

  8. In it, right-click the Resources node, and copy it.

  9. In the content tree, select and open the /apps/wcm/core folder.

  10. Paste the copied content into the core folder.

  11. Select Save All.

  12. 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.

  13. 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.