Which method shall I use to translate the entire view file after rendering?
I have actually used this link http://www.yiiframework.com/wiki/26/setting-and-maintaining-the-language-in-application-i18n/
and have configured default langauge etc.,
but can’t find my answers anywhere.
Actually I don’t want to translate any specific message but I want to translate entire view file
I have read here : http://www.yiiframework.com/doc/guide/1.1/en/topics.i18n
I am looking for view translation example.
Just scroll down a bit more on the page you linked
ok so in my init() method of the site controller , I have
$app = Yii::app();
$app->language = 'nl';
Which actually converts all the view files to dutch language. BUT! I am looking for something that translates the entire content the view file to selected language… not only attributes and labels…