diff --git a/Module.php b/Module.php index 7e66a99..84d3195 100755 --- a/Module.php +++ b/Module.php @@ -45,6 +45,7 @@ public function registerTranslations() Yii::$app->i18n->translations['sadovojav/gallery/*'] = [ 'class' => 'yii\i18n\PhpMessageSource', 'sourceLanguage' => 'en-US', + 'forceTranslate' => true, 'basePath' => '@vendor/sadovojav/yii2-gallery-module/messages', 'fileMap' => [ 'sadovojav/gallery/default' => 'default.php',