That's what I thought.. but it always has an array containing only en_US although I have four different keyboard layouts and none of them is en_US ! the only place where en_US is mentioned is in the project properties... I will assume it is a bug og Air framework then.
--- In flexcoders@yahoogroups.com, Sam Lai <samuel....@...> wrote: > > 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/ClientSideLocale > > 2009/2/20 alex <myth_dran...@...>: > > 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-Ca ,fr-CA how can I get it ? > > > > > > > > > > > > ------------------------------------ > > > > -- > > Flexcoders Mailing List > > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > > Alternative FAQ location: https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links > > > > > > > > >