Locale[] geek4 = Locale.getAvailableLocales();
// We are not printing all the locales.
System.out.println("\nInstalled locales are : ");
for (int i = 1; i < geek4.length/10; i++)
System.out.println(i + ":" + geek4[i]);