Locale[] locales = Locale.getAvailableLocales();
for (Locale locale : locales) {
String displayLanguage = locale.getDisplayLanguage();
String language = locale.getLanguage();
String displayCountry = locale.getDisplayCountry();
String country = locale.getCountry();
System.out.println(displayLanguage + "=" + language + " ");
System.out.println(displayCountry + "=" + country + "<br/>");
}