|
Posted by Rik on 01/20/07 13:27
Andy Dingley wrote:
>> backend to serve up the language based a) the user's locale, and if
>> that is not set, its own locale.
>
> Make the selection completely user-selectable, with cookie
> persistence, with the methods you describe setting the default. It
> works just the
> same by default, but it's more flexible for casual users finding
> themselves using other people's computers' It's a real nuisance
> otherwise!
Check, the order in which I determine language:
- Explicitly set (by a GET variable, or pseudo one like /en/ or /de/ etc.
taken into a rewrite)
- Cookie
- HTTP-Accept-Language in the header
- Geo-IP info (there are free databases available, which are mostly
accurate enough to determine the coutry most of the time)
- System default
After determining the language the cookie will be sent/overwritten with the
current choice.
Grtz,
--
Rik Wasmus
[Back to original message]
|