Translating labels

I didn’t figure out how to translate labels on forms. How can I do it?

If you are using the form with a model, then in your model, you would do something like:

public function attributeLabels() 	


   return array(

	'username' =>Yii::t('default','Username')



Check this article about quick start internationalization

or some other useful article.

Hope it helps :)

Thanks guys. I got it now!