Java Hindi locale support?
Java 6 definitely has Hindi Locale support, refer to here.
To explicitly set the locale to Hindi, India do something like this:
System.out.println(new Locale("hi", "IN"));
Prints;
hi_IN
The thing to note here is Locale
does also offer constructors to accurately get a handle on the supported Locale(s) and variants.
Hence, in your code you might probably want to try out:
Locales.setThreadLocal(Locales.getLocale(new Locale("hi", "IN")));