开发者

How does google.com redirect me to the correct language?

If I enter www.google.com it is always in my language. How does google get the correct language? Do they chec开发者_Go百科k the IP or is the language of the browser?


http://en.wikipedia.org/wiki/Geolocation_software

Google uses IP Geolocation to get information from what country you are browsing and tries to set you that language. Probably if it find other settings in the request header which also sends your browser language it will switch to it.


Your browser sends out Accept-Language header. Google is in english for me at work, where I have english OS+non-internationalized broser , but at home I got czech OS+browser and Google redirects me to google.cz.


It's your IP address which you get by your provider from where they conclude your geolocation and thus your language.


Google knows all. They can probably pick out the clothes you like if you gave them the chance ;)

Its most likely a combination fo two things; geolocation via IP address, plus info gleaned from your google acocunt if you happen to be logged in.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜