Setup & Configuration
Can I configure the user groups that AEM creates for each translation project?
We haven't seen a configuration option for this, so it is assumed that AEM creates these groups automatically and doesn't expose a setting for them.
Can I configure which users are added to the groups, and who has control over the AEM Translation Projects that are created?
Yes. You can manage group membership in the AEM UI at /security/groups.html, or open the Project Summary tile and manage the users there.
Can the user groups be automatically deleted when the AEM Translation Project is completed (launches promoted and deleted)?
Groups are deleted automatically when you delete the project. We haven't found any other configuration option for this.
Is there a standard workflow, or a workflow the AEM customer can configure, to delete AEM Translation Projects that have been completed?
Yes. AEM has a built-in feature to purge projects, and it is part of Maintenance. To use it, add a Purge Project task to a maintenance window, for example: /libs/granite/operations/content/maintenanceWindow.html/conf/global/settings/granite/operations/maintenance/granite_weekly
Click Add and select the Purge Project type.
Configure the task, then click the checkmark.
You are redirected to the configuration console.
Why is the Test Connection for the Smartling Translator Provider failing?
Test Connection can fail for a number of reasons:
Smartling - Context Preview Settings are not configured. Test Connection fails if context is not configured correctly. Check that the Server URL, user, and password are all correct under
<aem-instance>/system/console/configMgr.This is the most common cause of Test Connection failure, and it does not prevent content from being submitted for translation.
A firewall is blocking traffic. Make sure your network allows traffic to
api.smartling.comandcms.smartling.comon port 443.The API credentials are incorrect. Test your credentials using Smartling's API Authentication endpoint. Example cURL: curl -X POST https://api.smartling.com/auth-api/v2/authenticate -H 'content-type: application/json' -d '{"userIdentifier": "{USER_IDENTIFIER}", "userSecret": "{TOKEN_SECRET}"}'
Can one translation configuration have more than one project? (For example, can I send different content to different Smartling projects from my AEM instance?)
Yes. You can set up more than one project within a translation configuration in AEM. This is preferred over setting different translation configurations in the cloud configuration at the page level.
When you create a new translation request, you can choose which project to use from the Project dropdown menu.
Content
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, and assets being included. 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
configure the type of translatable content and its scope in the AEM translation framework. Go to Tools > Cloud Configuration - Translation Configuration and adjust your settings.
For more details, see Adobe's documentation on creating a translation integration configuration.
Can custom placeholders be implemented through the connector?
Yes. In the Web Console Configuration (<aem-instance>/system/console/configMgr), search for Smartling - Translatable Content Configuration (Touch) and add your regex:
Why do I see the same strings in multiple different files? / Why is there a large queue of strings awaiting authorization that are not in a job?
AEM submits one file per language for translation. This results in one file per locale in Smartling, which is why you see multiple files with the same source text.
For example, if you submit one AEM page for translation into four languages, you will see four different files in the Smartling job. Each file name contains the target locale code: a file with "fr" in the filename is for translating into French, a file with "es" is for translating into Spanish, and so on.
You can ignore all other strings in the awaiting authorization queue that are not in a job. There is no way to remove them, as they are the result of the unique nature of AEM and Smartling TMS.
Example:
Does Smartling support content in Adobe AEM Guides?
Yes, Smartling supports translating content in Adobe AEM Guides as part of the localization framework.
Jobs & Requesting Translation
I submitted content for translation, but the Smartling job shows "No Content". What does this mean?
In general, there are three possible reasons why your job has "No Content". Please see Troubleshooting "No Content" in Jobs.
For AEM connector projects, the most common reason for "No Content" is that the content is already in another Smartling job. The status "No Content" essentially means "no new content detected for translation." You can ignore these empty jobs, as they will be automatically canceled after 7 days. You can also cancel and delete them manually if you prefer.
Why do I receive the error "Translation Provider Doesn't Support Translation for the Selected Language Pair" when I start a job?
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 the Smartling project uses "fr-FR" for French (France). To correct the problem, update the mapping and restart your job.
AEM site language code:
Incorrect mapping:
Smartling language code:
Correct mapping:
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 you create a Smartling configuration, make sure you set the configuration for the page that is the parent to your sites (original and localized).
Can I localize the page URLs?
Yes, as outlined in Adobe's documentation on localized page names. You will need to add an alias for the pages and make sure sling:alias is added to the translation rules. You may also need to update some AEM settings, as described in the answer to "Why is the title not translated? (AEM Touch)".
Why is submitting an AEM page failing because the URL is encoded?
This is a known issue in AEM: special characters in the URL are "double escaped" and cause a 404 error. Configure Apache to allow encoded slashes in URLs by adding AllowEncodedSlashes On.
For example:
<VirtualHost *:80>
ServerName www.geometrixx-outdoors.com
AllowEncodedSlashes On
<Directory />
<IfModule disp_apache2.c>
SetHandler dispatcher-handler
</IfModule>
Options FollowSymLinks
AllowOverride None
</Directory>
</VirtualHost>
I have specific sub-pages I want to submit for translation. Can I do a 'selected' submission with these pages or do I have to submit them all separately?
If you need specific sub-pages submitted, you will need to complete page submissions separately. There is no way to do a bulk submission for specific sub-pages.
I named my Experience Fragment a specific job name, but in Smartling it shows up as a page. How can I fix it?
Jobs created through the References panel don't use the name you enter in the Smartling dialog. Two ways to fix it:
Submit the translation request via the 'Translate' button, not the References panel. The job should show up with the correct name then.
Change the job name in Smartling as you would any other job.
Note: In AEM Cloud Connector 5.9.75 and later, a job created through the References panel is named after the AEM translation project title, followed by a unique number (for example, "Spring Campaign - 1234567890123"). If the project has no title, the name is the current date, page path, and a unique number.
How does the AEM Forms translation process differ from the Sites / Fragments process?
In multiple ways, the main ones being:
You request a translation via the 'Add to Dictionary' option, not the Smartling connector button.
You need to create separate locales under a different CRX DE location, for example
/libs/granite/ui/content/userproperties/preferences/form/items/language/items.Translated content is returned to the same asset as a dictionary, not as a separate asset.
How do I include a Content Fragment for translation when submitting from a Sites page?
In CRX/DE, find the content fragment under the page tree and locate its
sling:resourceType:Go to the Translation Rules UI and click /content. Under References, add the CF path, like so:
assetNode with resource type weretail/components/content/contentfragment referenced as fragmentPath
Translations & Translation Delivery
How can I edit published translations and have the updates reflected in AEM?
AEM only accepts translations through its translation framework, so the connector can't write an updated translation file directly into AEM. To get edited translations reflected in AEM, the content has to go through a new translation request. You have two options, depending on your connector configuration.
Automatic resubmission (recommended)
If the Automatic Request Translation on Republish setting (AEM Touch / AEM Cloud) is enabled, the connector will automatically detect edits to published translations and submit a new translation request to AEM, without manual intervention.
Note that this setting must have been enabled at the time the content was originally requested. It applies to pages, Experience Fragments (XFs), and Content Fragments (CFs) only. On AEM Cloud, the connector must also still hold its upload record for the content. See About metadataRetentionDays.
Manual resubmission
If the automatic setting is not enabled, you can make edits to translations in Smartling and then use the Force Resubmission option (Required if page is unchanged) to create a new AEM Translation Project to pull back updated translations.
Please note this will generate an empty job in Smartling showing "No Content". If you have configured callbacks, AEM will automatically download the updated translations. Otherwise, AEM will download the updated translations in accordance with the Scheduler cron.
What happens next
In both cases, AEM creates a new launch from the source page, and the connector downloads the translations into the launch before AEM promotes it. If the source page changed since the last submission, those changes are included as new strings, which must be translated before delivery. With automatic resubmission on AEM Cloud, the connector reuses the original Smartling job when it can, including a job in Completed status. It creates a new job only if the original is Cancelled, Closed, or Deleted, or can't be found or loaded.
If changes were made to non-translatable content on a page (e.g., page properties) and the page is re-requested for translation, will the changes be reflected in the target language copy?
Yes. If a page is re-requested for translation after changes are made to non-translatable content, it will result in an empty job in Smartling showing "No Content" (since there are no changes to the translatable content). AEM will create a new launch from the source page which will include all changes. The connector will deliver existing translations and the launch will be promoted to the existing language version. The updates made to non-translatable content will be reflected in AEM.
If translatable content on the page also changed, the new strings must be translated before delivery.
How do I apply tags to my translated content?
Tags are not applied on a target page by default. To copy tags from the source page (original) to the target page (translated), add or change the excluded property for cq:tags. For example, the appropriate value is:
cq:(?!(designPath|template|translationStatus|lastTranslationUpdate|tags)$).*
Why is the title not translated? (AEM Touch)
This information only applies to AEM Touch.
Although you may have submitted a page and translated all content, including the title of the page (the 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 Smartling, 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.
Go to CRX DE and browse to the
/libs/msm/launches/rolloutconfigs/launch/contentUpdatenode.Replace:
jcr:.*
with:
jcr:(?!(title|description)$).*
Replace:
sling:(?!(resourceType|resourceSuperType)$).*
with:
sling:(?!(resourceType|resourceSuperType|alias)$).*
Save this configuration and resubmit the page. For more information, see Adobe's documentation on content update action exclusions.
If AEM fails to approve and promote a translated page automatically, how can I manually approve and promote the launch?
Navigate to the Translation Project in AEM.
Under Translation Job, click the 3 dots:
The pages and assets in the job are shown.
Select the pages/assets and click Accept Translation:
A modal window pops up. Click Accept:
This accepts the translations, but the launch containing the translations still needs to be promoted to the target page.
Click the page/asset again and click Preview in Sites:
Once the page opens, select Promote Launch from the middle menu:
Select Promote full launch. You can also select Delete launch after promotion to delete the launch.
Finally, on the Review step, click Promote.
