[MAGNOLIA-8229] Non JVM-default Locales are not used in I18n Created: 17/Nov/21 Updated: 09/Jun/23 Resolved: 03/Feb/22 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | freemarker |
| Affects Version/s: | 6.2.13 |
| Fix Version/s: | 6.2.17 |
| Type: | Bug | Priority: | Low |
| Reporter: | Chris Jennings | Assignee: | Javier Benito |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | 0.5d | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| 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
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||
| Bug DoR: |
[X]*
Steps to reproduce, expected, and actual results filled
[X]*
Affected version filled
|
||||||||||||
| Date of First Response: | |||||||||||||
| Epic Link: | Java8 locales | ||||||||||||
| Sprint: | DevX 2, DevX 3 | ||||||||||||
| Story Points: | 5 | ||||||||||||
| Team: | |||||||||||||
| Description |
Steps to reproduce
Expected resultsWhen switching between requested languages, the translated label will change from English to Welsh. Actual resultsThe Welsh translation appears everywhere, never the English. WorkaroundTBC Development notesThe DefaultMessageBundlesLoader is, via the LocaleUtils, using the default locales available from the JVM. |
| Comments |
| Comment by Chris Jennings [ 18/Nov/21 ] |
|
Attached locales available from Oracle Java for reference. |