使用国外空间如Godaddy等写blog的朋友,相比都会直接安装空间商提供的英文版WordPress,理由很简单,一个按钮,就能自动完成。这样,问题就来了,如果想让blog前台后台都显示中文,那就还要装个中文包了。
方法就两步:
- 下载wordpress中文团队开发维护的简体中文语言包,
- 在wordpress/wp-content下创建languages目录;
- 将中文包中的文件zh_CN.po与zh_CN.mo解压至此目录;
- 修改网站根目录下的wp-config.php文件:
将 define(’DB_CHARSET’, ‘utf8‘); 修改为 define(’DB_CHARSET’, ”); ;
将 define (’WPLANG’, ”); 修改为 define (’WPLANG’, ‘zh_CN’);;
现在可以去刷新一下你的页面,试一下效果吧!
doubanclaim41d9f4cd36368cf7
3 thoughts on “安装WordPress中文包四步曲”
Nicely you must have guessed it they’ve a strategy annd
arre laser centered on it.
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.
This site was… how do I say it? Relevant!! Finally I
have found something that helped me. Thanks!