[MGNLFORM-314] i18n is not working for form module error messages Created: 04/Mar/19  Updated: 19/Apr/21  Resolved: 16/Mar/21

Status: Closed
Project: Magnolia Form Module
Component/s: None
Affects Version/s: 2.4.3, 2.7.2
Fix Version/s: 2.5.6, 2.7.3

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Chuong Doan Huy
Resolution: Fixed Votes: 0
Labels: VN-Analysis, VN-Implementation, maintenance
Remaining Estimate: Not Specified
Time Spent: 3d 6.75h
Original Estimate: Not Specified
Environment:

5.7.2, 6.2.6


Attachments: PNG File form-module-error-message.png    
Issue Links:
Relates
relates to MGNLUI-5175 Ability to translate validation error... Closed
causality
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[X]  Architecture Decision Record (ADR)
Bug DoR:
[X]* Steps to reproduce, expected, and actual results filled
[X]* Affected version filled
Sprint: Maintenance 47, Maintenance 48
Story Points: 5

 Description   
Overview:

Cannot change form module error message below - bottom left corner:

Neither custom Java module info/magnolia/module/form/messages_de.properties nor src/main/resources/mgnl-i18n/messages_de.properties could work. Using light-dev in this case doesn't help also.

Reproduce issue steps:
  • Open up your default install 5.7.2 and go to front-end demo page such as:
  • http://host:port/context/de/travel/contact.html
  • Fill up the contact form using any info such as "test@localhost.com"
  • Click send email button to see error message is not correct in German
Reproduce development steps:
  • Create a custom Maven module of Magnolia
  • Follow i18n development steps
  • Test again to see customization is not affected.

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