I've found a number of missing countries in java locales- If I print out a list of available locales,
TreeSet< String > m = new TreeSet< String >();
for ( Locale l : Locale.getAvailableLocales() ) {
m.add( l.getDisplayCountry() );
}
for ( String s : m ) {
System.out.println( s );
}
I'm missing a number of countries, including Nigeria, Iran, Kyrgyzstan, and Pakistan. Can anyone shed any light on this, or is there a better(more comprehensive) way of getting a country list in java?
1.6.0_16-b01