Revision #7 has been created by le_top on Nov 24, 2014, 12:03:56 AM with the memo:
Remove private environment specific configuration.
« previous (#6)
Changes
Title
unchanged
Themed translations (i18n)
Category
unchanged
How-tos
Yii version
unchanged
Tags
unchanged
Yii::t, t, translation, i18n, CPhpMessageSource, messages, theme, theming, themes
Content
changed
[...]
return array(
//...
'components'=>array(
'messages'=>array(
'class' => 'ThemedPhpMessageSource',
'cachingDuration'=>$isProduction?'3600':0,
),
)
);
```
Then in your 'themes/<yourtheme>/messages' directory, add your themed messages as you do for the application and for widgets.[...]