aspose file tools*
The moose likes Beginning Java and the fly likes Finding a language setting or locale of the keyboard Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Finding a language setting or locale of the keyboard" Watch "Finding a language setting or locale of the keyboard" New topic
Author

Finding a language setting or locale of the keyboard

Balasubramanian Chandrasekaran
Ranch Hand

Joined: Nov 28, 2007
Posts: 215

HI,
I chnaged the language settings from english layout to german from the regional settings. the keyboard behave as german. but in my java application i have to get the keyboard layoout whether it is english or german. i tried by using Locale.getdefault it always display the english US. if the regional setting is changed also locale.getdefault display the english as.

How to get the current keyboard layout or language setting using java.
R Babu
Greenhorn

Joined: Oct 14, 2008
Posts: 9
Hi,

Please try the code below:

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Finding a language setting or locale of the keyboard