Wrong Pagination After Setting Value To Yii::app()->Language

Hi all,

When I am testing the code for translation, I change the code for the actionIndex as following:

	public function actionIndex()


		$dataProvider=new CActiveDataProvider('User');

		Yii::app()->language='zh'; // I just added this line





The pagination on the page became "Displaying 1-3 of 1 result.|Displaying 1-3 of 3 results.". After I remove the line of code, the pagination is correct to "Displaying 1-3 of 3 results." Is it a bug?

The problem is the pagination does not support ‘zh’ but ‘zh_cn’ and ‘zh_tw’ are ok. Solved!