[MGNLUI-3030] Display country code as well as selector in Language chooser in dialogs Created: 24/Jun/14 Updated: 05/Dec/14 Resolved: 15/Jul/14 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.0 |
| Fix Version/s: | 5.2.7, 5.3.2 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Jan Haderka | Assignee: | Evzen Fochr |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | support, trivial | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| 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 |
|
Right now if one specifies 2 language variants for his site such as Swiss German (de_ch) and High German (de_de) both are shown in language selector in dialog as "German" only.
public void setAvailableLocales(List<Locale> locales) {
...
languageSelector.setItemCaption(locale, locale.getDisplayLanguage(MgnlContext.getLocale()));
...
}
The solution would be to include country code in the caption as well. |
| Comments |
| Comment by Jan Haderka [ 15/Jul/14 ] |
|
Code looks fine, but you can't mark issue as "resolved" with ".x" in fixVersion field. There needs to be selected a concrete version under which fix is going to. |
| Comment by Evzen Fochr [ 15/Jul/14 ] |
|
Done. |
| Comment by Evzen Fochr [ 15/Jul/14 ] |
|
rly hope its everything |