16 12
发新话题
打印

解决中文版zh_CN.mo不被调用的问题

回复 #9 opiater 的帖子

太感谢了,方法一不管用,方法二就搞定了,。

[ 本帖最后由 havas 于 2007-8-22 09:54 PM 编辑 ]

TOP

解决方法2:

QUOTE:
Try this. Get your original gettext.php file, then find entry:

if ($magic == ($MAGIC1 & 0xFFFFFFFF)) { // to make sure it works for 64-bit platforms
$this->BYTEORDER = 0;
} elseif ($magic == ($MAGIC2 & 0xFFFFFFFF)) {

Replace by:

if ($magic == $MAGIC1) {
$this->BYTEORDER = 0;
} elseif ($magic == $MAGIC2) {

The solution was described there: http://wordpress.dk/forum/topic/19

It is working for me. WordPress 2.1.3 php 5.2.1


-------------------------------------------
用此方法解决了~

TOP

方法二终于搞定了,哈哈,谢谢楼主。
记得前几天两个方法都没有搞定,今天试了一下却搞定了,真是世事无常啊,哈哈

TOP

我试的两个方法都不管用!我是2.2版

TOP

引用:
原帖由 照然 于 2007-8-21 09:09 PM 发表
解决方法2:

QUOTE:
Try this. Get your original gettext.php file, then find entry:

if ($magic == ($MAGIC1 & 0xFFFFFFFF)) { // to make sure it works for 64-bit platforms
$this->BYTEORDER =  ...
well done

TOP

在本机装个中文版,熟悉之后,英文中文都是一样的。只是看起来可能会不太习惯,使用上应该没什么困难。
http://imspider.com

TOP

 16 12
发新话题