Recent Topics

Problem in User Management with zh_TW (Traditional Chinese)

Started by on Sep 19, 2006 – Contents updated: Sep 19, 2006

Sep 19, 2006 08:36    

I am using 1.8.1 RC1. The web server is IIS, running on Windows 2000 Server, Traditional Chinese Edition. The PHP version is 4.4.4.
Errors occur on the User Management page after I put the language files for zh_TW, which is extracted from 0.9.1 package. The error message is

Parse error: parse error, unexpected '"', expecting ',' or ';' in D:\htdocs\b2evolution\blogs\inc\_misc\_results.class.php(1261) : eval()'d code on line 1

I've checked _results.class.php and found that there are some west-European special characters. Is the error relevant to these characters? How do I fix it?

Sep 20, 2006 09:27

Finally I got a clue. The string that the eval() function evaluates contains some Chinese characters that will make it an invalid statement. I comment out two lines in locales/zh_TW/_global.php:


L160: //	'Del' => "刪除",
L351: //	'Copy' => "複製",


Now the User Management page looks good.


Form is loading...

Build your own site! – This forum is powered by b2evolution CMS, a complete engine for your website.