thinkphp5 开启多语言

一、在applicatio/config.php中设置php 'lang_switch_on' => true, 'default_lang' => 'zh-cn', 二、在/application/common.php中设置html use think\Lang; Lang::setAllowLangList(['zh-cn','en-us','ja-jp','ru-ru']);三、在appl
相关文章
相关标签/搜索