for (Locale locale : Locale.getAvailableLocales()) {
final String contry = locale.getDisplayCountry();
if (contry.length() > 0) {
System.out.println("Country = " + contry + ". ISO code: " + locale.getISO3Country());
}
}
You need to create an account or log in to post comments to this site.