AEM Forms supports localization of the adaptive forms you create. This helps you design forms for a wider audience across geographies.
This article explains how you can enable localization for the authors (authoring mode) as well as for the users (runtime mode).
Localization for the runtime mode allows end users to view the adaptive form in another locale when they are viewing or filling the form.
To enable this, you first generate a dictionary for the adaptive form. This dictionary includes an XLIFF file for the localized text in each of the available locales. Each XLIFF file contains:
- text that will be displayed to the end users, and
- placeholders for the corresponding localized text
To enable localization, you export the XLIFF files, replace the placeholder text with the localized text, and then import the edited file. The users can then view the localized content in their browsers when they are viewing or filling out the adaptive form. To view the localized content, the end users need to change the browser locale to the relevant locale (an updated XLIFF file with the localized text must be available for the end user to view the localized content).
Perform the following steps to enable localization for the runtime mode: