Home > Article > CMS Tutorial > 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.
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.
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.
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!