AEM Touch Connector

AEM Touch Connector FAQs

Why do I receive this error when I start a job?

"The Translation Provider Doesn't Support Translation for the Selected Language Pair."

The AEM Touch Connector is delivered with predefined language mappings between Smartling and AEM language codes. This error means that the AEM site language code does not match a Smartling language code. For example, an AEM site uses the code "fr" for French, but Smartling project uses "fr-FR" for French (France). To correct the problem, update the mapping and restart your job.

AEM site language code:

produits.png

Incorrect mapping:

translation_project_properties.png

Smartling language code:

smartling_language_code.png

Correct mapping:

correct_mapping.png

You can adjust language mappings in /apps/granite/translation/connector/config/smartling/languageMapping. Generally, you should only need to edit this file when you add a new language in AEM.

Why does the popup not work when I try to submit a page?

When creating a Smartling configuration, make sure that you set the configuration for the page that is the parent to your sites (original and localized).

Why does the connector not properly translate the title?

Although you may have submitted a page and translated all content, including the title of the page, ("jcr:title" property), you may notice that the title didn't translate properly. This is because the Smartling Touch connector is responsible for submitting original content to the TMS and it pulls translations back. However, applying translations to page properties is handled by AEM.

For example, you wish to translate three properties: title, description, and alias. 

title.png

alias.png

  • Go to the "Web console" and open the "CQ MSM Content Update Action" configuration. You will need to change a couple of values in "Exclude Page Properties".
    CQ_msm.png
  • Replace:
    jcr:.*
    with:
    jcr:(?!(title|description)$).*
  • Replace:
    sling:(?!(resourceType|resourceSuperType)$).*
    with: 
    sling:(?!(resourceType|resourceSuperType|alias)$).*
  • Save this configuration and resubmit your page. For more information, consult the AEM Touch Connector documentation.

How do I exclude certain strings from a file?

When a single page is submitted, the Smartling connector may upload more than one file. This is a result of tags/dictionaries/assets being included. If you wish to exclude these types of strings from files such as these:

070b0946-9ca3-447b-8f2b-405553141cd0:ASSETMETADATA
f74a06e0-e211-4fc8-ab89-a757c43835e0:TAGMETADATA
ac2ddc50-2fa4-4cd1-b4c5-acc10ea02c4c:/apps/i18n/en.json

The type of translatable content and scope should be configured for the AEM translation framework.

Go to Tools > Cloud Configuration - Translation Configuration and adjust your settings.

edit_config2.png

edit_config.png

For more details, consult Adobe AEM documentation.

Was this article helpful?