Detecting the locale of the user?

  • Thread starter Thread starter Eric Caron
  • Start date Start date
E

Eric Caron

Hi all,

In a web application, is there a way to detect the locale of the user (for
example, by sniffing some info off the navigator) and using that locale to
display the information on the site to the user?

Any information regarding how to do this would be greatly appreciated.

Eric.
 
There must be a way, because the tracking service I use gives city and state info, but not sure how
they are doing it.

George
 
I suspect they are using Javascript to grab the Hostname, and then, somehow, they break that down
into a geographic location. By looking at the Hostname, sometimes it is fairly obvious where they
are from, but with others, it is very cryptic.

George
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top