WordPress Change the default language

Source: Internet
Author: User

In the previous article, has used WordPress to build a personal blog, but the default is English, of course, if the technology blog, of course, the best English, but if it is other things such as life, English obviously will be difficult, so, it is best to modify the default language. To modify the method:

1. Modify the default language of the configuration file as Simplified Chinese

#cd/var/www/html/wordpress/

#vim wp-config.php//Modify wplang= ' for wplang= ' zh_cn '

2. Download the corresponding language pack in Simplified Chinese.

#cd/tmp

#wget Http://cn.wordpress.org/wordpress-3.8.1-zh_CN.zip

#unzip wordpress-3.8.1-zh_cn.zip//Decompression

#cd wordpress/wp-content

#cp-rf languages//var/www/html/wordpress/wp-content/

3. Restart the Apache server

#service Httpdrestart

4. Check to see if the WordPress language has been updated as shown in the picture



Over

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.