[MGNLDEMO-348] Changing Java 7 Locale Names To Java 8 for demo project Created: 13/Oct/20 Updated: 13/Oct/20 Resolved: 13/Oct/20 |
|
| Status: | Closed |
| Project: | Magnolia Demo Projects |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Julian Nodarse | Assignee: | Aleksandr Pchelintcev |
| Resolution: | Not an issue | Votes: | 0 |
| Labels: | maintenance | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoR: |
Empty
|
||||||||||||||||
| Date of First Response: | |||||||||||||||||
| Epic Link: | Support | ||||||||||||||||
| Description |
|
Like Reproduce steps for current error:
|
| Comments |
| Comment by Aleksandr Pchelintcev [ 13/Oct/20 ] |
|
This issue actually seems different from the one in main: the LocaleUtils is the right tool to parse the underscore-based locales. However, it gets the locale in lower-case format, which it doesn't accept. Checking the situation, thanks. |
| Comment by Aleksandr Pchelintcev [ 13/Oct/20 ] |
|
Tried both with dx-core ad CE by changing the country in travel demo i18n config. All of the three (en, en_GB and en_CH) as well as e.g. en-CH seem to work fine. jnodarse feel free to re-open |
| Comment by Aleksandr Pchelintcev [ 13/Oct/20 ] |
|
See the locale configuration docs for a bit more details (i.e. language and country have to be specified separately except for the fallback locale case, which is now handled correctly ever since the issue in the core was fixed. |