WordPress language Switch

Source: Internet
Author: User

If you want to change the language of WordPress, such as the English version of the Chinese version, or convert the Chinese version to English version, how to do? In fact, it is very simple, open the site root directory of wp-config.php, and then search define (' Wplang ' can quickly navigate to the language settings there, such as the Simplified Chinese version of the default is:

Define ('wplang'zh_cn');

If you want to change to the English version, simply change to:

Define ('wplang');

It is important to note that WordPress Official English version does not contain any language packs , that is, you do not see the Languages folder in the/wp-content/directory, even if you set the ZH_CN, it will not take effect, because there is no Simplified Chinese language pack! So you must download the corresponding language version, unzip the/wp-content/directory under the Languages folder (and its files) uploaded to your site's/wp-content/directory.

WordPress Simplified Chinese official: http://cn.wordpress.org/

Versions of other languages can be found here: http://codex.wordpress.org/WordPress_in_Your_Language

Note: WordPress 4.0 and later versions, can be directly in the background-settings-general, set "site language", no longer need to define define in wp-config.php (' Wplang ', ' zh_ch ')

The English configuration should be: Backstage->settings->general->site Language.

After the configuration is restarted Apache, and then login to the WordPress administrator interface, you will be prompted to upgrade, directly click the upgrade to automatically deploy the Chinese language pack.

WordPress language Switch

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.