In main.php, I have:
'sourceLanguage' => '',
'language' => 'bs',
I have created:
/protected/messages/bs/
/protected/messages/en/
In bs. I have:
kontact.php with this content:
return array(
'Za sva pitanja molimo Vas da nas slobodno kontaktirate.' => 'Bla bla bla',
);
In one view I have:
echo Yii::t('kontakt', 'Za sva pitanja molimo Vas da nas slobodno kontaktirate.');
I am not sure where is the problem. How to translate.
Thank you!