You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Joerg Schaible (JIRA)" <ji...@apache.org> on 2016/03/08 19:12:40 UTC
[jira] [Resolved] (LANG-1212) When searching the avaliable locales
for Greece I get two locales which is not correct
[ https://issues.apache.org/jira/browse/LANG-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joerg Schaible resolved LANG-1212.
----------------------------------
Resolution: Invalid
This is defined in [JDK 8|http://hg.openjdk.java.net/jdk8/jdk8/jdk/file/687fd7c7986d/src/share/classes/sun/util/resources/de/CurrencyNames_de_GR.properties]. For whatever reason.
> When searching the avaliable locales for Greece I get two locales which is not correct
> --------------------------------------------------------------------------------------
>
> Key: LANG-1212
> URL: https://issues.apache.org/jira/browse/LANG-1212
> Project: Commons Lang
> Issue Type: Bug
> Reporter: Kostas Karkaletsis
> Assignee: Joerg Schaible
>
> List<Locale> locales = LocaleUtils.languagesByCountry("GR");
> String languageCode = "en_US";
> for (Locale locale : locales) {
> System.out.println(locale.toString() + " " + locale.getDisplayLanguage());
> }
> The result is:
> el_GR Greek
> de_GR German
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)