|
Posted by David Haynes on 02/27/06 02:55
Jerry Stuckle wrote:
> Jan wrote:
>> We'd like our web site to switch language depending on the country of
>> the IP, or alternatively the language of the user's system if an IP
>> check makes the server too slow. We'll have up to 600 new visits per
>> minute at our site.
>>
>> Basics
>> 1. Load DE.htm page by default
>> 2. Switch to EN.htm or FR.htm for certain IP countries
>> 3. Store value in cookie to avoid IP lookup for next visit, prefer P3P
>> compliant
>> 4. Let user pick language at any time in our menu, updating the cookie
>>
>> Free country database is available at:
>> http://www.maxmind.com/app/geoip_country
>>
>> 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?
>>
>
> Yep, don't bother.
>
> First of all IP databases by country are not real reliable. They show
> only where the server is, not where your user is.
>
> But more importantly, the country may not reflect the desired language
> of the user. For instance, what about Canada? Quebec, for instance,
> has two official languages - French and English.
Actually *Canada* has two official languages: French and English. Quebec
naturally prefers French (as does big pieces of New Brunswick) while
others prefer English.
Switzerland has, I believe, four official languages.
As for mapping languages by ip. It's a bad idea. Let the user select the
language they wish.
-david-
Navigation:
[Reply to this message]
|