Re: Newbie asks about multi-lingual website strategies
| From: | Colin Guthrie | Date: | Wed, 28 Nov 2007 14:48:26 +0000 |
| Subject: | Re: Newbie asks about multi-lingual website strategies | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-265129@lists.php.net to get a copy of this message | ||
tedd wrote:
> At 12:56 AM +0100 11/28/07, Jochem Maas wrote:
>> Colin Guthrie wrote:
>>> tedd wrote:
>>
>> ...
>>
>> >
>> > Sorry Tedd, but I'm not sure where the browser sniffing stuff came in.
>>> IE and FF both offer a UI to input the user's preferred language, it's
>>> an HTTP standard thing and nothign to do with user agents string
>>> parsing. It uses the Accept-Language header sent with http requests to
>>> detect the language. It's quite standard but problems usually crop
>>> up in
>>> e.g. Australia and the UK where a lot of people leave the default en-US
>>> language when en-GB or en-AU would be better. Again it's not infallible
>>> but it's a fairly good starting point.
>>
>> ditto.
>
> So, sniffing the browser to determine language isn't the same as browser
> sniffing -- OK.
>
> Sorry, my bad.
lol. If you define this as "sniffing" tedd, then I by that token you'd
have to define the "GET / HTTP/1.1 \n Host: www.mysite.com" bit as
sniffing too ;)
Col