[MGNLUI-3834] Rename messages files as TranslationService does not support same name files Created: 31/Mar/16  Updated: 18/Apr/16  Resolved: 12/Apr/16

Status: Closed
Project: Magnolia UI
Component/s: admincentral
Affects Version/s: 5.4.5
Fix Version/s: 5.4.6

Type: Bug Priority: Critical
Reporter: Roman Kovařík Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 5m
Original Estimate: Not Specified

Issue Links:
causality
caused by MAGNOLIA-6234 TranslationService could use new Reso... Closed
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
Release notes required:
Yes
Epic Link: renameDuplicatedI18nFiles
Sprint: Kromeriz 39
Story Points: 3

 Description   

TranslationService uses origin since MAGNOLIA-6234. Origin doesn't support same name files, so only the first translation file is loaded. This affect modules which have mgnl-i18n/messages_en.properties files, e.g. /magnolia_ui/magnolia-ui-admincentral/src/main/resources/mgnl-i18n/messages_en.properties.
The solution is to move the files to the new moduleName/i18n location or rename the file.

Go trough all modules and look for mgnl-i18n/messages_en.properties file and check if more modules are affected.


Generated at Mon Feb 12 09:10:33 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.