title: Java Locale to get Sinhala/Sri Lankan Translation
body: <p>I have JSF UI application and I want to display translated country names. </p>
  
  <p>I am getting country names with Java Locale. But unable to get my transalation requirement. With Java 1.6 Locale provided only 44 Unique countries. </p>
  
  <pre><code>Locale[] localeArray =  Locale.getAvailableLocales();
  System.out.println("localeArray----&gt;"+localeArray.length);  
  
  for (Locale locale : localeArray) {     
      counter++;
      System.out.print("locale--&gt;"+locale+"-------");
      System.out.print("locale getISO3Language--&gt;"+locale.getISO3Language());
      System.out.println("-----locale.getDisplayCountry(locale)---&gt;"+locale.getDisplayCountry(locale));
      System.out.println("-----locale.getDisplayCountry()---&gt;"+locale.getDisplayCountry());
      System.out.println("-----locale.getCountry()---&gt;"+locale.getCountry());
  
      System.out.println("----------------------------------------------------"+counter);
  }
  </code></pre>
  
  <p>Please let us know how to perform my requirement ? </p>
  
  <p>Oracle documentation provide <a href="http://www.oracle.com/technetwork/java/javase/javase7locales-334809.html#jfc" rel="nofollow noreferrer">link</a>. </p>
  
  <p>Is there any available Libraries other than Java to perform powerful locale specific requirement? </p>