Uploaded image for project: 'Magnolia Form Module'
  1. Magnolia Form Module
  2. MGNLFORM-355

I18n is not working for validation messages

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Neutral
    • None
    • 2.7.3
    • None
    • None

    Description

      Steps to reproduce

      1. Open resources app and create the following i18n properties file: 
        /form/i18n/form-frontend_de.properties
        form.user.errorMessage.email = Bitte geben Sie eine valide E-Mail Adresse ein
      1. Create page containing a form with an input field with email validation
      2. Add a submit button
      3. Preview the page, change language to German and enter a non-valid email, for example "magnolia"
      4.  Press submit 

      Expected results

      Validation message appears in German

      Actual results

      Validation message appears in English

      Development notes

      Similar issue was fixed in MGNLFORM-314 but it seems that changes involved multistep form logic.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              jayala Jonathan Ayala
              AuthorX
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Checklists

                  Bug DoR
                  Task DoD