PHP code example of lsys / i18n
1. Go to this page and download the library: Download lsys/i18n library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
lsys / i18n example snippets
//---------------------------多语言--------------------------------------
//方便使用请定义一个函数后使用 参阅 dome/i18n.php
//语言文件放置于 I18n 目录
echo LSYS\I18n\DI::get()->i18n(__DIR__."/I18n/")->__("this is i18n");