Use machine translation or human translation to translate a Core Components based Adaptive Form using-aem-translation-workflow-to-localize-adaptive-forms-and-document-of-record
Localized forms help you serve a wider audience across geographies. Adobe Experience Manager translation workflow helps you localize Adaptive Forms and their documents of record . You can use machine translation or human translators to localize an Adaptive Form.
Translate an Adaptive Form and document of record using machine translation localizing-an-adaptive-form-and-document-of-record-using-machine-translation
The machine translation service immediately translates your content in Adaptive Form and Document of Record. AEM Forms as a Cloud Service is pre-configured to use a trial version of Microsoft Translator for machine translation. Perform the following steps to enable machine translation for your Adaptive Forms and Document of Record:
-
On the AEM Forms UI, select a form, and select the Add Dictionary option.
-
In the Add Dictionary to Translation Project screen, for the Project option
- To create a translation project, select the Create a new translation project option and in the Project Title field, specify the title. For example,
Government Reference Site - German locale.
- To add a new dictionary to an existing translation project, select the Add to an existing translation project option and select an Existing translation project.
- To create a translation project, select the Create a new translation project option and in the Project Title field, specify the title. For example,
-
In the Target Languages field, specify a locale (For example,
German(de)
). You can specify multiple locales. The form is translated to all the locales specified in the Target Languages field. Click Done. -
In the Dictionary Added dialog box, click Open Projects.
-
In the Projects screen, click the created project. For example, click the Government Reference Site - German locale tile.
-
On the Translation Job tile, click the icon, and click Start. The status of the tile changes to Draft. On completion of the translation, the status changes to Approved. Refresh the page after a few minutes and verify the status.
-
After the status changes to Approved on the Translation Job tile, click the icon, and click Complete.
-
To preview the localized form, on the AEM Forms UI, select the localized form. Click Preview >Preview as HTML. Reopen the form after adding the
afAcceptLang=<locale code>
to the URL off the form. For example, addafAcceptLang=de
to open German version of the form.note note NOTE - Before opening the localized version of form in the browser window, ensure that the locale of the browser is set to match the locale of the form. For example, if the form is translated to German(de) language then set the locale of the browser to German(de).
- Adaptive form components do not support right to left (RTL) languages. For example, Hebrew.
Localizing an adaptive form and its document of record using Human Translation localizing-an-adaptive-form-and-its-document-of-record-using-human-translation
In Human translation the content is sent to a translation provider and translated by professional translators. When complete, the translated content is returned and imported into AEM. When your translation provider is integrated with AEM, content is automatically sent between AEM and the translation provider.
For translation, a dictionary containing files in XLIFF format is shared with the professional translators. The dictionary includes a separate XLIFF file for each locale. Each XLIFF file contains text that is displayed to the end users and placeholders for the corresponding localized text.
Perform the following steps to localize a form and its document of record using Human Translators:
-
On the AEM Forms UI, select a form, and select the Add Dictionary option.
-
In the Add Dictionary to Translation Project screen, for the Project option
- To create a translation project, select the Create a new translation project option and in the Project Title field, specify the title. For example,
Government Reference Site - German locale.
- To add a new dictionary to an existing translation project, select the Add to an existing translation project option and select an Existing translation project.
- To create a translation project, select the Create a new translation project option and in the Project Title field, specify the title. For example,
-
In the Target Languages field, specify a locale (For example,
German(de)
). You can specify multiple locales. The form is translated to all the locales specified in the Target Languages field. Click Done. -
In the Dictionary Added dialog box, click Open Projects.
-
In the Projects screen, click the created project. For example, click the Government Reference Site - German locale tile.
-
At the bottom of the Summary tile, click the ellipses. The Translation Project Properties screen opens.
-
Open the Advanced tab at the top of the Translation Project Properties screen. For the Translation field, select Human Translation. Click Save & Close at the top of the screen.
-
On the Translation Job tile, click the icon, and click Export. On the Export dialog, click the Download Exported File option. It downloads a .zip file.
-
Extract the downloaded .zip file. The extracted folder has two files:
- translation_export_summary.xml
- [form-fields-file].xml.
-
Open the [form-fields-file].xml for editing. Add the localized strings and messages for form fields. Save and close the file.
-
Zip the files the translation_export_summary.xml and [form-fields-file].xml.
-
On the Translation Job tile, click the icon, and click Import. Select the archive containing [form-fields-file].xml. with localized strings and messages for form fields.
-
To preview the localized form, on the AEM Forms UI, select the localized form. Click Preview >Preview as HTML. Reopen the form after adding the
afAcceptLang=<locale code>
to the URL off the form. For example, addafAcceptLang=de
to open German version of the form.
See Also see-also
- Create an AEM Adaptive Form
- Add an AEM Adaptive Form to the AEM Sites page
- Apply themes to an AEM Adaptive Form
- Add components to an AEM Adaptive Form
- Use CAPTCHA in an AEM Adaptive Form
- Generate a PDF version (DoR) of an AEM Adaptive Form
- Translate an AEM Adaptive Form
- Enable Adobe Analytics for an Adaptive Form to track form usage
- Connect Adaptive Form to Microsoft SharePoint
- Connect Adaptive Form to Microsoft Power Automate
- Connect Adaptive Form to Microsoft OneDrive
- Connect Adaptive Form to Microsoft Azure Blob Storage
- Connect Adaptive Form to Salesforce
- Use Adobe Sign in an AEM Adaptive Form
- Add a new locale for an Adaptive Form
- Send Adaptive Form data to a database
- Send Adaptive Form data to a REST endpoint
- Send Adaptive Form data to AEM Workflow
- Use Forms Portal to list AEM Adaptive Forms on an AEM website
- Add versionings, comments, and annotations to an Adaptive Form
- Compare Adaptive Forms