You are here: Re: How to make multilingual website? « PHP Programming Language « IT news, forums, messages
Re: How to make multilingual website?

Posted by Erwin Moller on 04/05/07 08:03

mickysoft.org@gmail.com wrote:

> On Apr 5, 10:40 am, "CAH" <madsgormlar...@gmail.com> wrote:
>> I need to make at multilingual website, with php and mysql, and I have
>> placed the different language in different columns in a database. But
>> when the user chooses a language, should I make the choice stick with
>> a cookie or a session or something else?
>>
>> Mads
>
> You can store the user`s selection in their session file or if they`re
> a registered user you can store it in their profile in the database.
> If you need help dooing any of this just ask :)
>
> Micky

Yup, good advise.
Additionally: Make sure you set per column with a language the right
character encodingscheme fit for that language.
And send back the right headers in ALL your responses to the client.
So your PHP scripts must overrule the default charset set in php.ini.

If you only use languages that have the same characterset/coding, don't
worry. ;-)

Regrads,
Erwin Moller

 

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

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