First off, i like Yii very much and my goal is to learn it and use it in some cool projects,
but, of course, i have more questions then actual knowledge.
Right now i'm stuck at setting language,
how do i use "CPhpMessageSource" ?
In my protected/config/main.php
should i write:
'components'=>array( ... 'messages'=>array( 'class'=>'CPhpMessageSource', 'basePath'=>realpath(dirname(__FILE__).DIRECTORY_SEPARATOR.'..'.DIRECTORY_SEPARATOR.'messages/ru'), 'language'=>'ru', ), )
This doesn’t work
I'm also wondering, what settings are better for best performance? I mean, should i use /framework/messages/ stuff ? or i can use "custom" messages in webroot/protected/messages?