[Xfce-i18n] about the problem of zh_CN web pages can't show up

沧海一蜉蝣 yhlfh at yahoo.com.cn
Mon Mar 26 15:59:06 CEST 2007


Sorry to disturb.
Finally find it's a bug of the web site. Here is bug report:
http://bugzilla.xfce.org/show_bug.cgi?id=3059

Below is the solution:
-------------------------------------------------------------------------------------------------------
changing this line in index.php

-$userlang = substr(trim($_SERVER["HTTP_ACCEPT_LANGUAGE"]), 0, 2);
+$userlang = trim($_SERVER["HTTP_ACCEPT_LANGUAGE"]);

-------------------------------------------------------------------------------------------------------
Someone has already commited it. I just want it apply. I'm so eager.

Regards,
Ben




		
___________________________________________________________ 
雅虎免费邮箱-3.5G容量,20M附件 
http://cn.mail.yahoo.com/



More information about the Xfce-i18n mailing list