Page 1 of 1
Traditional Chinese language finished
Posted: Wed Nov 10, 2004 4:17 am
by CapriSkye
i've finished translating s9y to traditional chinese, but having trouble setting the charset, so can't really test on it. anyone know how to set those to work with traditional chinese? im pretty sure charset has to be big5, but not sure the others. please help, thanks.
@define('LANG_CHARSET', 'ISO-8859-1');
@define('DATE_LOCALES', 'english, en, en_US');
@define('WYSIWYG_LANG', 'en');
Posted: Wed Nov 10, 2004 7:02 am
by CapriSkye
@define('LANG_CHARSET', 'big5');
@define('DATE_LOCALES', 'chinese, zh, zh-TW');
@define('WYSIWYG_LANG', 'b5');
that's what i have right now, but my blog isn't showing correctly. it still shows everything in english, and capitalized....and printing the variable names. here's where my test site is,
www.capriskye.com/blog
please help, thanks
Posted: Wed Nov 10, 2004 2:11 pm
by Little Hamster
I don't how to fix it, but the problem is that the html document is still set to be in english
Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
Posted: Wed Nov 10, 2004 7:14 pm
by CapriSkye
i know, even though i did set the charset to big5.
Posted: Wed Nov 10, 2004 10:05 pm
by garvinhicking
It seems to me that you did not alter the correct language file with the big5 constants! Because when I view your HTML Sourcecode it says:
Code: Select all
<title>Capri's Personal Blog</title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="Powered-By" content="Serendipity v.0.7-rc1" />
The "ISO-8859-1" should not be in there; Serendipity uses LANG_CHARSET for that, so you supposedly didn'T set your blog configuration to use it? Or maybe you are using embedded mode, supplied your own headers, and didn't change it?
Regards,
Garvin.
Posted: Thu Nov 11, 2004 1:22 am
by CapriSkye
it's working now, i think it's a syntax error, with some chinese words appearing at the end of the string before ' it will add a slash, i think that's causing the problem. but everything works now, thanks guys.
will you guys include this in future release? i will update the language file if need be. please let me know. thanks!
Posted: Thu Nov 11, 2004 1:46 pm
by garvinhicking
We would love to include it in our distribution. If you could use a recent file to translate (from the Snapshot archives) that would be great!
Please send it via E-Mail to me and I will include it in CVS. (me [at} supergarv {dot{ de)
Regards,
Garvin.
Posted: Thu Nov 11, 2004 4:14 pm
by CapriSkye
i think both 0.7 and smarty-branch have different language file, which one do you want me to send you? thanks!
Posted: Thu Nov 11, 2004 5:29 pm
by garvinhicking
Use the one of smarty-branch, if possible. Thanks!
Regards,
Garvin.
Posted: Fri Nov 12, 2004 4:52 pm
by CapriSkye
okay it's done, did you get my email? also the one i translated for smarty-branch will work with the normal version right? thanks