Unable to locate message source for category 'yii2mod.cms'.
neoacevedo opened this issue · comments
On accessing to cms/index after configure in app-advanced #13 (comment) I get the following:
Unable to locate message source for category 'yii2mod.cms'.
I have solved it:
...
'i18n' => [
'translations' => [
'yii2mod.comments' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@yii2mod/comments/messages',
],
'yii2mod.cms' => [
'class' => 'yii\i18n\PhpMessageSource',
'basePath' => '@yii2mod/cms/messages',
],
...
Documentation missing it.