Generally, the better WP themes now are from abroad, all in English. Some content on the page needs to be translated, so you need to use a language pack translation tool to process it.
1. Modify the wp-config file under the project directory:
Add define('WPLANG', 'zh_CN');
Save the file
2. Enter the site control panel (dashboard), just upgrade after seeing the update prompt. WordPress will automatically download the Chinese language pack from the official website and install it.
3. Re-enter Settings - General
4. Select Simplified Chinese and it will be ok.
For more wordpress-related technical articles, please visit the wordpress tutorial column to learn!
The above is the detailed content of How to add language pack in wordpress. For more information, please follow other related articles on the PHP Chinese website!