Using the AEM Cloud Connector, you can select the "Pseudo translation" option in the Smartling-Translate dialog window to retrieve pseudo translations for your content. This option requires AEM Cloud Connector version 5.9.17 or later.
Pseudo Translation is the simulation of translations, which allows you to view the resemblance of the translated content and make strategic decisions on layout and sizing requirements. Pseudo Translations take the original strings and change the formation of the characters to increase or decrease the length of each string, in an attempt to replicate the fact that some locales typically require more characters than others.
Pseudo Translation is particularly useful for visualizing the impact that translation will have on design and layout, without having to wait for the translation to be completed. With the AEM Cloud Connector, Pseudo Translation is a great way to quickly validate your AEM configuration to ensure your content has been set up with correct translation rules.
You can also use the Smartling Pseudo content download manager to control what happens to job files after pseudo translation is delivered.
How to configure pseudo translations
- In the OSGi configuration, go to the Smartling Pseudo content download manager (Cloud).
- Choose whether to automatically remove the file after delivery (optional, selected by default).
- Choose whether to cancel job files after delivery (optional, selected by default).
- Click Save.
Example OSGi configuration file
com.smartling.aem.connector.core.impl.PseudoContentDownloadManager.cfg.json
{
// Cancel job files after delivery option (true by default)
// Causes connector to cancel an empty job (without source files) after pseudo translation was downloaded
"pseudo.download.cancel.job": true,
// Remove a file after delivery option (true by default)
// Causes connector to remove a file after pseudo translation was already downloaded for them
"pseudo.download.remove.file": true
}How to view pseudo translations
- Follow the steps to Request Translations via the AEM Connector, and select the "Pseudo translation" option in the Smartling-Translate dialog window for the target locale(s) you want to view in pseudo.
- Pseudo Translation will be delivered instantly - in 10 to 15 seconds, depending on the performance of your environment.
- Only the target locale(s) you selected for pseudo translation will be displayed in pseudo; however, the results will confirm the outcome for all languages.
- The Pseudo Translations represent the content fields that have been correctly set up with translation rules.
- Any visible source content represents the content fields that have not been correctly set up with translation rules.
- This will also be true for all other language translations.
Set pseudo translation as the default (optional)
By default, you need to select the "Pseudo translation" option each time you open the Smartling-Translate dialog window. If your team regularly reviews content in pseudo, you can configure AEM to pre-select this option automatically.
- In the OSGi configuration, go to
com.smartling.aem.connector.automation.ui.SmartlingDialogConfiguration.cfg.json. - Enable the
translation.pseudo.defaultsetting. - Click Save.