i try to put my labels in a translation file. but it is not working at the moment. i followed the tutorial in this topic
instead of printing the translation its just printing the $message attribute of t().
the translation of yii core messages, like validation messages are working perfect.
i created a file labels.php in private_html/framework/messages/nl
main.php
'language'=>'nl'
labels.php
<?php
return array (
'GroupId' => 'Groep'
);
User.php
public function attributeLabels()
{
return array(
'GroupId' => Yii::t('labels', 'GroupId'),
'FirstName' => 'Voornaam',
'LastName' => 'Achternaam',
'Email' => 'E-mail',
'Username' => 'Gebruikersnaam',
'Password' => 'Wachtwoord',
'ConfirmPassword' => 'Bevestig'
);
}