If you want to change the language of WordPress, such as converting the English version to the Chinese version, or converting the Chinese version to the English version, how should you do it? In fact, it is very simple. Open wp-config.php in the root directory of the website, and then search define('WPLANG' to quickly locate the language settings. For example, the default for the Simplified Chinese version is:
define('WPLANG', 'zh_CN');
If you want to change it to For the English version, just change it to:
define('WPLANG', '');
It should be noted that the official English version of WordPress does not contain any language pack, that is, you cannot see the languages folder in the /wp-content/ directory, even if you Setting it to zh_CN will not take effect because there is no Simplified Chinese language package! So you must download the corresponding language version, unzip it and upload the languages folder (and the files in it) in the /wp-content/ directory to your website. /wp-content/ directory.
For more wordpress related technical articles, please visit the wordpress tutorial column to learn!
The above is the detailed content of How to change wordpress to Chinese version. For more information, please follow other related articles on the PHP Chinese website!