[MGNLFORM-355] I18n is not working for validation messages Created: 06/Oct/21  Updated: 16/Aug/22

Status: Open
Project: Magnolia Form Module
Component/s: None
Affects Version/s: 2.7.3
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Jonathan Ayala Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: AuthorX Support
Team: AuthorX

 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.


Generated at Mon Feb 12 05:39:23 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.