How to install English version of WordPress quickly translated into Chinese version

Source: Internet
Author: User
Tags define interface pack php and install wordpress

Now the host Management panel, all provide a key to quickly install WordPress, Joomla and other mainstream construction station program function, analogy said cpanel host management panel, can be Fantastico De Luxe quickly install WordPress. However, the installation of WordPress are in English version, if you are doing Chinese station, or other language sites, you will only be able to install the WordPress installation package, can be installed step-by-step.

Some people may say, the installation of English version does not matter, I use a Chinese WordPress theme (template), published articles are Chinese on it. This is a big mistake, although the surface of the site is Chinese, but in fact the language type of the site is still in English, view the site source code, you can find: lang= "en-us", and the site is still in English backstage. Lang= "en-us" is actually to tell the search engine, your site is English, but your site is above the Chinese characters, which will certainly have a certain impact on the site.

So how to convert the installed English version of WordPress to Chinese? In fact, there is a very simple way, you do not have to reinstall the Chinese version of WordPress.

Open WordPress's profile wp-config.php and find this line of code:

Define (' Wplang ', ");

This is the language set for WordPress, the default is English, if you want to change to Chinese, just in two single quotes between the ZH_CN, namely:

Define (' Wplang ', ' zh_cn ');

Although the language type has become Chinese, but because the installation of English WordPress in the default is no Chinese language pack, and the Chinese version of the WordPress installation package, there are official Chinese language packs, you can download a Chinese version of WordPress, Under the Wp-content folder, there is a languages folder, which is the Chinese language pack. Upload the entire Languages folder to the English WordPress wp-content folder you installed.

Landing backstage, you will see the background interface has become familiar with the Chinese interface, view the source code of the site, language is also Chinese: lang= "ZH-CN", then the WordPress and normal installation of the Chinese version of WordPress is complete the same, if there is a new version of the WordPress release , you can upgrade directly in the background, do not worry that it will change back to the English version of the!

If you want to convert to another language type of WordPress, the method is the same, the ZH_CN into the appropriate language, the language pack to Languages folder can be.

Original address: http://www.168itw.com/wordpress/english-to-chinese/reproduced please indicate the original source!

Thank you for submitting 168ITW



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.