Home> CMS Tutorial> WordPress> body text

How to change wordpress to Chinese version

Release: 2019-07-15 13:05:46
Original
21494 people have browsed it

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 thewordpress tutorialcolumn 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!