This is a resource for phpVMS's "lang",it translated phpVMS's original English into Chinese Simplified.Also including the config of language selector.
Refer: Official WEB of phpVMS
A full distribution, with all of the composer dependencies, is available at this phpVMS's GitHub Releases link. (To know more info,please go there too.)
-
Personal Computer boot:
- Git clone or download all files.
- Upload to your virtual airlines server.
- Extract directly.
- Find "env.php" in your directory,then open and edit like "The EXAMPLE part of env.php".
-
Server directly boot:
- Git clone or download to your server phpVMS web directory.
- Find "env.php" in your directory,then open and edit like "The EXAMPLE part of env.php".If you set like this,users will view Chinese simplified website when users first arrive your website.
-
The EXAMPLE part of env.php
# THIS FILE MUST BE KEPT SECRET! IT IS BLOCKED IN THE HTACCESS FILE
# HOWEVER, THIS DIRECTORY SHOULDN'T BE EXPOSED TO THE PUBLIC AT ALL
# SEE THE DOCS FOR PROPER (SECURE) INSTALLATION:
# https://docs.phpvms.net/installation/uploading
#
# This is the place to edit your configuration. To change a config that's
# not present here, you need to either edit the file/config in the config
# folder, or change it to read the value from the environment. Something like:
#
# 'some_key' = env('ENVIRONMENT_VARIABLE_KEY_ADDED_BELOW', 'default value')
#
# Various other settings in the configs also read from some environment variables
# by default. You can override those here
APP_KEY='XXX'
APP_NAME='XXX Virtual Airlines'
SITE_NAME='XXX Virtual Airlines'
APP_URL='http(s)://va.yourdomin.domin'
APP_LOCALE=zh-CN