Re: [PHP3] Interesting question...
| From: | Matthew Kendall | Date: | Sat, 10 Jun 2000 17:58:29 +0000 |
| Subject: | Re: [PHP3] Interesting question... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-1542@lists.php.net to get a copy of this message | ||
"Marian Vasile"" <marianos@gmx.net> wrote ...
> How I can detect from wich country somene is comming to my
> web site ? I want this because I want my web site to be automatically
> translated for every visitor...
You don't want to know the country, you want to know the language. Some
countries have more than one language, e.g. Canada has English and French.
The Accept-Language header that the browser sends to your web server lists
the acceptable languages and their relative acceptabilities.
Jukka Korpela has a very good set of pages on this topic:
http://www.hut.fi/u/jkorpela/multi/
Or search Deja for discussions in comp.infosystems.www.authoring.* for
discussions on this topic.