Page 1 of 1
Creating a multi language site
Posted: Wed Nov 05, 2008 5:39 am
by sanju
Hi all,
I want to do a dynamic site which have the option to choose various languages.
A multi language content management site in php. What is the proper way for it.
PLease advise
Re: Creating a multi language site
Posted: Wed Nov 05, 2008 5:57 am
by papa
You can create a languange class which translates your words.
If it's a small site you can use constants for example.
Re: Creating a multi language site
Posted: Wed Nov 05, 2008 6:12 am
by sanju
Hi,
Thanks for the reply..
How should be this class.. My site have 2 languages when click on english site should be in english and on clicking spanish it should be in it.
Its a big content management site and cant use constants. How should I create that class For spanish translation from english
Thanks..
Re: Creating a multi language site
Posted: Wed Nov 05, 2008 6:55 am
by dyrathror
May I suggest to use a php framework with builtin multi-language support?
For example I am using:
Prado:
http://www.pradosoft.com/
Yii:
http://www.yiiframework.com/
D.