[MAGNOLIA-6621] Rename messages files as TranslationService does not support same name files Created: 04/Apr/16  Updated: 05/Nov/16  Resolved: 14/Apr/16

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

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

Issue Links:
causality
caused by MAGNOLIA-6234 TranslationService could use new Reso... Closed
Template:
Epic Name: renameDuplicatedI18nFiles
Acceptance criteria:
Empty
Date of First Response:

 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.

find */src/main/resources/mgnl-i18n/messages_*.properties


 Comments   
Comment by Roman Kovařík [ 07/Apr/16 ]

Enterprise/external-traits/src/main/resources/mgnl-i18n/messages_en.properties
Enterprise/dam-cumulus/canto-cumulus-integration/src/main/resources/mgnl-i18n/messages_en.properties
Platform/ui/magnolia-ui-admincentral/src/main/resources/mgnl-i18n/messages_en.properties
konakart-commerce/konakart-commerce-integration/src/main/resources/mgnl-i18n/messages_en.properties
rest-client/magnolia-rest-client-app/src/main/resources/mgnl-i18n/messages_en.properties

Comment by Milan Divilek [ 14/Apr/16 ]

All issues in Epic are closed. Closing whole Epic.

Generated at Mon Feb 12 04:16:15 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.