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

  1. Current global language value: en-us
  2. File operation: xml
  3. Save the configuration file path: /Yi/domain/lang-php.com/www/example/04-settings/libraries/lp.xml
  4. 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

  1. Read the quick guide -> https://lang-php.com/go/lp-docs-four
  2. Upload all files in the 'example/04-settings' directory to your website directory;
  3. Change /Yi/domain/lang-php.com/www/example/04-settings/libraries/lp.xml File permissions for 777;
  4. chmod 777 < folder > //Yi/domain/lang-php.com/www/example/04-settings/libraries/lp.xml
  5. Optional XML/cfg type (the default XML), edit the libraries/classes/go.php file and modify the $setFileType variable;
  6. Browser access: http://< domain name or IP >;