Translating Forms¶
Forms can be be translated and presented in any language that is currently enabled on the current site.
To add a translation:
Begin by viewing an existing form (e.g., Guest Feedback Survey) to be translated.
Click the (+) sign next to the language dropdown menu.
Select a language to translate the form to.
A new language tab is added to the form. Translation text entered does not override the default language.
Enter a new title.
To modify a field’s label, click on the field. This opens the field configuration menu.
Enter the translation.
Continue until all the desired fields have been translated.
Click Save Form when finished.
Viewing Translated Forms¶
Authenticated users that have configured a matching default language for the site now see the translated form by default.
If accessed in the Form widget on a Liferay DXP page, the Form is displayed in the User’s language automatically. If there’s no translation available in a user’s selected language, the default language of the Form is displayed.
Viewing Translated Form Records¶
Starting in Liferay 7.4, The language of each form record is recorded in two locations for administrators: exported form data and from within the View Entries screen for a form.
To view the entries and their languages in the Liferay Forms application,
Open the Site Administration menu and go to Content & Data → Forms.
Open the Actions (
) menu for a form and click View Entries.