Multilingual

hello friends,

does anyone has any idea about multilingual website in yii. can you tell me which is the best extension for it. i have use some of them but not find suitable.

regards

anil

Hello, have you tried this one ?

but for this we need to store each and every post multiple time with same (number of language) don’t we have any option like where we can store the data one time but with three or more language like with <en></en><rn></rn> kind of so that it will reduce the database capacity as well. instead of saving every post multiple times

regards

anil

Yes, we need to store each and every post multiple time with same (number of language). Unfortunately I haven’t found any extension like the one that you said, please let me know if you find any :)

is it acceptable to use yii::t() function in view. for translation of labels i can use yii::t() in model’s attributelabel function, but in case i want to translate heading of each view as well as other explicite messages, is it ok if i use directly

<h1><?php yii::t(‘category’,‘page heading’);?></h1>