Posted by Chung Leong on 02/27/06 05:19
Jan wrote:
> Ryanair.com is a site that appears to use a similar approach.
>
> If interested, we also have other web related tasks as well as SQL
> related ones. Maybe this is not the right forum to ask for assistence,
> any pointers to a good place?
Ryanair.com uses (as most sites do) the Accept-Language header to
determine the initial language. In PHP, check
$_SERVER["HTTP_ACCEPT_LANGUAGE"] to see which language is preferred by
the user. You will want to provide a manual override as well, in case
someone is using a computer at an Internet cafe in a different part of
the world.
[Back to original message]
|