diff --git a/config/lang.php b/config/lang.php index 10b691f05..974eec88e 100644 --- a/config/lang.php +++ b/config/lang.php @@ -18,6 +18,10 @@ return [ 'default_lang' => 'zh-cn', // 允许的语言列表 'allow_lang_list' => ['zh-cn'], + // 转义为对应语言包名称 + 'accept_language' => [ + 'zh-hans-cn' => 'zh-cn', + ], // 多语言自动侦测变量名 'detect_var' => 'lang', // 多语言 Cookie 变量 @@ -30,8 +34,4 @@ return [ 'allow_group' => false, // 扩展语言包 'extend_list' => [], - // 转义为对应语言包名称 - 'accept_language' => [ - 'zh-hans-cn' => 'zh-cn', - ], ]; \ No newline at end of file