Change framework messages default languague

Hi i want to know how can I change the default languague (english) of the framework messges, for example: form validation, errors…

thanks




Yii::app()->language = 'pl'; //or whatever you want



you can put that in config (main.php): ‘language’=>‘pl’,