J
jhurst
But going through the documentation I can't find any reliable way of
It is possible to determine the locale through JavaScript.
For netscape flavored browsers use: navigator.language
For Internet Explorer use: navigator.browserLanguage
That being said, if your goal is to determine the geographical
location of the user, you're better off using an IP->Location library/
service like that offered by Maxmind or Hostip.info
-Joey
getting the locale in JavaScript. Am I missing something, or is this
impossible? If it's impossible, why is it impossible?
It is possible to determine the locale through JavaScript.
For netscape flavored browsers use: navigator.language
For Internet Explorer use: navigator.browserLanguage
That being said, if your goal is to determine the geographical
location of the user, you're better off using an IP->Location library/
service like that offered by Maxmind or Hostip.info
-Joey