You are here: Re: i18n - how best to provide multilingual content « HTML « IT news, forums, messages
Re: i18n - how best to provide multilingual content

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация