Translating Forms

Forms can be translated to any locale that Liferay DXP supports. The form builder specifies a translation of the form’s default 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:

  1. Go to Site Administration (your site’s menu) → Content & DataForms and open the form to translate.

  2. Click the + icon next to the current translation language and choose from the available languages.

    Figure 1: Add a translation for the form.

    Figure 1: Add a translation for the form.

  3. Translate the form’s title, field labels, field options, field placeholder text, and any other text visible to the user.

  4. Save and publish the form.

Figure 2: Translate as much of the form as possible into each language you expect users to need.

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,

  1. 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.

  2. To see the form in a different language, click the language icon and select a language.

  3. Fill out the form as usual and click Submit.

Figure 3: Select the forms language.

Figure 3: Select the form's language.

« Auto-SaveAutocompleting Text Fields »
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています