[flexcoders] How to get the right locale in IE?

2011-12-15 Thread michael_regert
I'm trying to get the locale from IE 9. I've written the following, but it is not working as expected. In IE 9, I can add more than one language, so I can add [de], then [de_DE], then [en_US] (listed in that order). If I call 'navigator.userLanguage.toString', then IE returns en-us, even

Re: [flexcoders] How to get the right locale in IE?

2011-12-15 Thread Alex Harui
The first thing I’d do is write a test html page with some JS and try to get it to alert the right answer. On 12/15/11 1:22 PM, michael_reg...@dell.com michael_reg...@dell.com wrote: I’m trying to get the locale from IE 9. I’ve written the following, but it is not working as expected.

Re: [flexcoders] How to get the right locale in IE?

2011-12-15 Thread Paul Hastings
On 12/16/2011 4:22 AM, michael_reg...@dell.com said: I’m trying to get the locale from IE 9. I’ve written the following, but it is not working as expected. In IE 9, I can add more than one language, so I can add [de], then [de_DE], then [en_US] (listed in that order). if you have something

Re: [flexcoders] How to get the right locale in IE?

2011-12-15 Thread Paul Hastings
oops, and you might also look at IP to location/locale as well.