多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
### How to translate `en_US` to `it` for example `shop`. this shop dir has a dir named `messages`. full dir like `shop/messages/en_US`,its a default language. codeing in `shop/messages/I18N.php`. global $allowLanguage; $allowLanguage = ['en_US','it']; $open_translate = true; $language_id = isset($_GET['lang'])?$_GET['lang']:$language_id; $language_id = 'en_US'; //change here if change shop's language ,they all will change to . default language `en_US` php file in `shop/messages/en_US/app.php` copy `shop/messages/en_US/app.php` to `shop/messages/it/app.php` then translate. try language changed. modify `shop/messages/I18N.php` $language_id = 'en_US'; //en_US change to it