[MAGNOLIA-372] remove messages_languages_XX.properties and use Locale.getDisplayName() Created: 06/May/05  Updated: 17/Mar/09  Resolved: 09/May/05

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Improvement Priority: Minor
Reporter: Fabrizio Giustina Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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)
Date of First Response:

 Description   

the messages_languages_en.properties bundles are used only to store the name of languages in different locales, the same result can be achieved using locale.getDisplayName(userLocale) without the need to translate manually for each language.

The same also for the name of months and days in messages_XX.properties.



 Comments   
Comment by Philipp Bracher [ 06/May/05 ]

thanks for the hint

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