分类: LINUX
2010-04-02 12:53:59
下载WordPress简体中文语言包,很多地方都有发布,比如。 把wp-content文件夹下的languages文件夹上传到服务器覆盖原来的文件。同时需要对wp-config.php做两项更改,首先找到 define ('WPLANG', ''),更改为define (’WPLANG’, ‘zh_CN’),必须注意zh_CN的大小写!!然后找到define('DB_CHARSET', 'utf8'),更改为define('DB_CHARSET', '')。做完上述工作后刷新,WordPress就变成中文版了。
wp-config.php语言包使用帮助
/**
* WordPress Localized Language, defaults to English.
*
* Change this to localize WordPress. A corresponding MO file for the chosen
* language must be installed to wp-content/languages. For example, install
* de.mo to wp-content/languages and set WPLANG to 'de' to enable German
* language support.
*/
/*define ('WPLANG', '');*/
define ('WPLANG', 'zh_CN');