Re: Re: Newbie asks about multi-lingual website strategies

From: Date: Wed, 28 Nov 2007 13:21:02 +0000
Subject: Re: Re: Newbie asks about multi-lingual website strategies
References: 1 2 3 4 5 6  Groups: php.general 
Request: Send a blank email to php-general+get-265123@lists.php.net to get a copy of this message
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. Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#265123) next »