安装WordPress中文包四步曲

使用国外空间如Godaddy等写blog的朋友,相比都会直接安装空间商提供的英文版WordPress,理由很简单,一个按钮,就能自动完成。这样,问题就来了,如果想让blog前台后台都显示中文,那就还要装个中文包了。

方法就两步:

  1. 下载wordpress中文团队开发维护的简体中文语言包
  2. 在wordpress/wp-content下创建languages目录;
  3. 将中文包中的文件zh_CN.po与zh_CN.mo解压至此目录;
  4. 修改网站根目录下的wp-config.php文件:
    define(’DB_CHARSET’, ‘utf8‘); 修改为 define(’DB_CHARSET’, ”);
    define (’WPLANG’, ”); 修改为 define (’WPLANG’, ‘zh_CN’);

现在可以去刷新一下你的页面,试一下效果吧!

doubanclaim41d9f4cd36368cf7

Please follow and like us:

3 thoughts on “安装WordPress中文包四步曲”

  1. Attractive section of content. I simply stumbled upon your website and
    in accession capital to assert that I get in fact loved account your weblog posts.
    Anyway I’ll be subscribing in your augment and even I fulfillment you get right of entry
    to consistently rapidly.

Leave a Comment

Your email address will not be published. Required fields are marked *