This discussion is archived
2 Replies Latest reply: Jan 31, 2010 9:10 AM by Jörg RSS

How to detect  Input Locale from any given text.

843810 Newbie
Currently Being Moderated

is there any another ways to find the "input locale" value in java ?
means what ever language( Japanese /Chinese/other languages supported by java) i enter in the text box and i want to identify the locale of the text field.

There are 3 important locales in Windows: “Input Locale”, “User Locale” and “System Locale” and all 3 can be different.
That is you can have System Locale = English, Input Locale = Chinese and User Locale = Japanese
This might represent a Chinese user working in japan on an English PC.

In this example i want to identify Input Locale means "Chinese .