Zerico
(Tirlip)
1
maybe a stupid question.
I tried the core messages file, contentForm in /protected/messages/fr for localize
but I haven’t find the way (file) to set a different label when app()->user->name returns “Guest”
does anbody know how to change it ?
I 've to say, I’m using RBAC as well, so I need to get the actual name when logged 
Rico
webid
(Miguel Benevides)
2
Any luck on changing the label for the Guest?
tri
(tri - Tommy Riboe)
3
In the config file
'user'=>array(
'guestName'=>'YourGuestName',
...
)
Edit:
You may need to set it at a later stage for I18n.
E.g. override CWebUser::init() and add
$this->guestName = Yii::t(‘your_i18n’, ‘YourGuestName’);
(This will translate but I don’t know if it’s the right place)
/Tommy