04-settings
TO SAVE THE SETTINGS & PROFILE
This example is different from dynamic read and write Cookies; saving the configuration to XML/cfg, by reading the selected preferred language pack is available, does not accept the browser's default language preference.
CONFIGURATION
- Current global language value: en-us
- File operation: xml
- Save the configuration file path: /Yi/domain/lang-php.com/www/example/04-settings/libraries/lp.xml
- The currently loaded file is: themes/homepage/en-us.php
AVAILABLE LANGUAGES
- United States - English ( Mode 1 & Mode 2 )
- Россия - Русский ( режим 1 & режим 2 )
- 简体中文 - 中国 ( 模式 1 & 模式 2 )
- 繁體中文 - 中國 ( 模式 1 & 模式 2 )
- 日本 - 日本語 ( モード 1 & モード 2 )
- 대한민국 - 한국어 ( 모드 1 & 모드 2 )
HOW TO USE IT
- Read the quick guide -> https://lang-php.com/go/lp-docs-four
- Upload all files in the 'example/04-settings' directory to your website directory;
- Change /Yi/domain/lang-php.com/www/example/04-settings/libraries/lp.xml File permissions for 777;
- chmod 777 < folder > //Yi/domain/lang-php.com/www/example/04-settings/libraries/lp.xml
- Optional XML/cfg type (the default XML), edit the libraries/classes/go.php file and modify the $setFileType variable;
- Browser access: http://< domain name or IP >;