Forms can be translated to any locale that Liferay DXP supports. The form builder specifies a translation of the form’s default language.
Figure 1: A form is translate-able into any supported language.
The form’s default language and the available translations are set in the site’s language configuration.
Follow these steps to create a form translation:
-
Go to Site Administration (your site’s menu) → Content → Forms and open the form to translate.
-
Click Add Translation and choose from the available languages.
-
Translate the form’s title, field labels, field options, field placeholder text, and any other text visible to the user.
-
Save and publish the form.
Figure 2: Translate as much of the form as possible into each language you expect users to need.
To fill out a translated form in a translated language,
-
Access the form. If a signed-in user accesses the form and a translation is available in the user’s language, the user sees the translated form by default.
-
To see the form in a different language, click the language icon and select a language.
-
Fill out the form as usual and click Submit.
Figure 3: Select the form's language.