Explorar o código

feat: NG-15: 新会员注册时增加国家与语言选项.

zhangl hai 1 ano
pai
achega
754686525e
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      common/config/main.php

+ 2 - 0
common/config/main.php

@@ -96,6 +96,7 @@ return [
                         'app' => 'app.php',
                         'app/error' => 'error.php',
                     ],
+                    'forceTranslation' => true,
                 ],
                 'ctx*' => [
                     'class' => 'yii\i18n\PhpMessageSource',
@@ -105,6 +106,7 @@ return [
                         'ctx' => 'ctx.php',
                         'ctx/error' => 'error.php',
                     ],
+                    'forceTranslation' => true,
                 ],
             ],
         ],