As a developer I can annotate objects to be internationalized and let a framework do the rest (MAGNOLIA-5268)

[MAGNOLIA-5341] LocaleUtils resolves language misplaced in filename Created: 25/Sep/13  Updated: 02/Oct/13  Resolved: 25/Sep/13

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

Type: Sub-task Priority: Major
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Sprint: 5.1 Beta1- Frontend, 5.1 - Final

 Description   

Just noticed that, say, foo_de_bar.properties is resolved into a Locale.GERMAN when the fallback is Locale.ENGLISH. Of course, the language code in the above position isn't valid and should resolve to the fallback instead.


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