diff --git a/common/config/main.php b/common/config/main.php index a288bcf..21154a7 100644 --- a/common/config/main.php +++ b/common/config/main.php @@ -27,7 +27,7 @@ return [ ], 'i18n' => [ 'translations' => [ - 'app*' => [ + '*' => [ 'class' => 'yii\i18n\PhpMessageSource', 'basePath' => '@common/translation', 'fileMap' => [ @@ -35,6 +35,14 @@ return [ 'app/error' => 'error.php', ], ], + 'app' => [ + 'class' => 'yii\i18n\PhpMessageSource', + 'basePath' => '@common/translation', + 'fileMap' => [ + 'app' => 'app.php', + 'app/error' => 'error.php', + ], + ] ], ], 'authManager' => [ -- libgit2 0.21.4