Could you please help me, why is the translation not working ? Have I did something wrong or missed anything ?
In my config file main.php:
<?php
'sourceLanguage' => 'en', // the language that the application is written in
'language' => 'en', // the language that the user is using and the application should be targeted to
Then in my view formSelectType.php file:
<?php
echo Yii::t('formSelectType', 'testMe');
?>
And in my messages/en/formSelectType.php:
<?php
return array(
'testMe' => 'This is a test'
);
Now, however I still don't see that the language is changing, instead it displays the 'testMe' that I've passed as in Yii::t('formSelectType', 'testMe');