I want to localize into russian the pagination. (Next, prev etc.) I 've noticed, that in folder “message/ru/yii.php” file exist. how to make so, that yii will use this language file?
in general, how to use localization file with funtion Yii::t(). Can’t figure it out.
Instead you should initialize CLinkPage Widget with parameters overriden.
$this->widget('CLinkPager',
array(
'pages'=>$pages,
'nextPageLabel'=>'Назад >',
'prevPageLabel'=>'< Вперед',
'firstPageLabel'=>'<< В самое начало',
'lastPageLabel'=>'В самый конец >>',
'header'=>'Страницы',
)
);