S
Simon Brooke
I'm working on a system which uses Google maps. I want the user to see a
map of more or less where (s)he is in the world when (s)he first comes to
the system. So the obvious thing seemed to be to have a look-up table of
latitude and longitude against locale, and then use the locale of the
browser...
But going through the documentation I can't find any reliable way of
getting the locale in JavaScript. Am I missing something, or is this
impossible? If it's impossible, why is it impossible?
map of more or less where (s)he is in the world when (s)he first comes to
the system. So the obvious thing seemed to be to have a look-up table of
latitude and longitude against locale, and then use the locale of the
browser...
But going through the documentation I can't find any reliable way of
getting the locale in JavaScript. Am I missing something, or is this
impossible? If it's impossible, why is it impossible?