On Monday 27 January 2003 01:39, Marco Bleeker wrote:
> Hi, I am creating a bilingual website (Dutch and English) and I wonder how
> I would best detect the human language of a visitor. I am attempting
> several things, but I am sure there must be a generally accepted
> alternative. Can anyone point me to more info?

The most practical way to do this is to default to one language (that of your 
majority target audience) then let the user choose if they want to select a 
different one, and keep their selection in a session or cookie.

Trying to second-guess a user's preference from their browser settings/IP 
address/whatever is IMHO a waste of time.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Men use thought only to justify their wrong doings, and speech only to
conceal their thoughts.
                -- Voltaire
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to