If we want to change language of a particular action in YII or for the whole application we need to , set
CApplication::language . This can be done at runtime as i
Yii::app()->language = 'fr';
but we can also do it in application configuration:
'language' => 'fr',
// ...more settings...