I'm german, and when I'm visiting www.google.com it puts me to www.google.de -> the german version.
It's not stored in any kind of cookies or something.
I'm sure it's possible to get the user's language and not only the browser's language. I know there's a way with cgi, and now I'm looking for a PHP version.
I think JS only gives you the language of the browser and that's it, but hey... maybe I'm wrong !?!
They are probably just basing it off your IP address. They can know which countries blocks of IPs are from and then assume you want whatever corresponding language they have for your country.
When I was in Japan for a year I had a Japanese based ISP and I would always get redirected to japanese versions of various sites. It got really annoying.
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!