Home >CMS Tutorial >WordPress >How to change wordpress to Chinese version

How to change wordpress to Chinese version

尚
Original
2019-07-15 13:05:4621808browse

How to change wordpress to Chinese version

Various problems often occur when directly installing the Chinese version of wordpress. It is better to install the English version directly and then change it to the Chinese version.

For example, when installing the Chinese version, it appears: Cookies are blocked due to unexpected output. The exact reason has never been known.

How to change wordpress to Chinese version

Install the English version. The official method to change the Chinese version is:

Open and edit the wp-config.php file in the root directory of the site.

Find the line define('WPLANG', '');, fill in zh_CN in the second parameter, change it to define('WPLANG', 'zh_CN'); and save the file.

Go back to the Dashboard panel and click Update to automatically download the Chinese package.

How to change wordpress to Chinese version

Another method is to install the Chinese package manually. Download the WP Chinese version. There is a languages ​​folder in the wp-content folder, which contains the Chinese language pack. Transfer the entire languages ​​folder to the wp-content folder of the English WordPress you installed, and refresh the panel to change it to Chinese.

How to change wordpress to Chinese version

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!

Statement:
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