Home > CMS Tutorial > WordPress > body text

How to change wordpress to Chinese version

Release: 2019-07-19 09:30:07
Original
4829 people have browsed it

How to change wordpress to Chinese version

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');
Copy after login

If you want to change it to For the English version, just change it to:

define('WPLANG', '');
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template