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
相關文章
相關標籤/搜索