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'
);
}
This post has been edited by bas_vdl: 27 September 2009 - 01:17 PM

Help














