RBAC & i18n


I use yii RBAC to manage my user grants.

I have multiple roles and I display them in the edit page of a user profile (in a select box). But, depending of the language, I want them to be translated.

How can I do that ?

I think my question is for every datas that are stored in a database (in a single language just like article status).

Thanks !


Someone ?

Someone bis ? :D

I have found this : http://www.yiiframework.com/wiki/66/i18n-for-your-model-in-just-1-line

I’ll give a try.

Ok I can’t even find the rbac models … seems that the INSERT are handled by the CdbCommand Class …