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');
Traditional Chinese language finished
@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
@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
-
- Regular
- Posts: 62
- Joined: Thu Oct 07, 2004 3:16 pm
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">
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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:
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.
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" />
Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
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!
will you guys include this in future release? i will update the language file if need be. please let me know. thanks!
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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.
Please send it via E-Mail to me and I will include it in CVS. (me [at} supergarv {dot{ de)
Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Use the one of smarty-branch, if possible. Thanks!
Regards,
Garvin.
Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/