Re: [flexcoders] (Again ) Capabilities.language or how to get keyboard Locale in Air/Flex

2009-02-20 Thread Sam Lai
Oh right. It is probably returning the preferred languages in Internet Options > Languages (if you're on Windows IE), rather than the OS language locales. Unfortunately because it is somewhat hidden in the control panel, most people have it set to en-US by default. But I think if you install Windo

Re: [flexcoders] (Again ) Capabilities.language or how to get keyboard Locale in Air/Flex

2009-02-19 Thread Sam Lai
Capabilities.languages should give you the preferred languages of the user running the app, not for the compilation. http://livedocs.adobe.com/flex/3/langref/flash/system/Capabilities.html#languages If it is playing up, you can always get it via Javascript: http://www.ebessette.com/d/ClientSideLoc

[flexcoders] (Again ) Capabilities.language or how to get keyboard Locale in Air/Flex

2009-02-19 Thread alex
Well , I know Capabilities.language or Capabilities.languages gives me only the language locale the my project was compiled with But if I have to know where user comes from when he runs my application , mainly if he is from Canada or US. One way it to check the keyboard layout for en-US or en