Hi, I've been using the PRADO Framework for some projects and started using Yii just yesterday. I was going through the guide and tried to translate some of the messages.
So here is what I did:
I set the language to pt_br in protected/config/main.php;
Inside protected/messages/ I created the folder pt_br and copy the yii.php file from framework/messages/zh_cn.
Translated some of the messages in yii.php
But nothing happened.
Then I changed folder's location to framework/messages, only then the messages were changed.
The directory "framework/messages" is meant to store messages used in the Yii framework, while "protected/messages" is for messages used in an Yii application.
When you use Yii::t() to translate a message, make sure you specify a message category other than "yii". The "yii" category is reserved for messages of the Yii framework core code. I guess that's why you didn't see the translation.