Localization

The localization and translation page is available when the Moodle LMS supports more than one language.

It allows the form designer to translate the form interface, field content, options, and validation messages.

When users change their Moodle language, the form is displayed using the corresponding available translation.

Form Text Translation

The following general form text can be translated or customized:

  • Thank-you message
  • Submission success message
  • Response-limit message
  • Next button text
  • Previous button text
  • Submit button text

Field Translation

The following content can be translated for each field:

  • Field label
  • Export alias
  • Default value
  • Help text
  • Placeholder
  • Field options
  • Options for fields that require it
  • Rows for fields that require it

Validation Message Translation

Default validation messages can also be customized and translated.

Examples include:

  • The field is required.
  • The field must be a valid email address.
  • The field must be a valid URL.
  • Select a valid option for the field.
  • The field must be a valid number.
  • The field must be greater than or equal to {{min}}.
  • The field must be less than or equal to {{max}}.
  • The field must match the required step of {{step}}.
  • The field should have at least {{number_of_characters}} characters.
  • The field should have no more than {{number_of_characters}} characters.
  • The field should have at least {{number_of_words}} words.
  • The field should have no more than {{number_of_words}} words.
  • The field must be a valid date.
  • The field must be on or after {{start_date}}.
  • The field must be on or before {{end_date}}.
  • The file {{file_name}} is not allowed for the field. Allowed extensions: {{allowed_extensions}}.
  • The file {{file_name}} is larger than the maximum size for the field. Maximum size: {{max_size}}.

Was this page helpful?

Please tell us what went wrong.
255 characters remaining
Thanks! Your feedback helps us improve this page.
Please wait a few seconds before trying again.