LANGUAGE FILES for CHINESE

Discussion corner for Developers of Serendipity.
Post Reply
skyroam

LANGUAGE FILES for CHINESE

Post by skyroam »

Here are language files for Chinese modified from serendipity_lang_tw.inc.php in yesterday's cvs.
http://skyroam.info/se/uploads/cn.tar.bz2.
files in package:

Code: Select all

serendipity_lang_zh.inc.php  Simplified Chinese(GB2312)
serendipity_lang_cn.inc.php  Simplified Chinese(UTF-8)
serendipity_lang_tw.inc.php  Traditional Chinese(BIG5)
serendipity_lang_tn.inc.php  Traditional Chinese(UTF-8)
serendipity_config.inc.php
A little modification for LC_CTIME.
here is example with serendipity_lang_zh.inc.php:

http://skyroam.info/se
It works well with cvs version yesterday.

Most of them were created by "iconv" in linux from language file in Traditional Chinese(BI5).

Hope to speed your development.

[/code]
CapriSkye
Regular
Posts: 119
Joined: Sun Oct 31, 2004 4:42 am
Location: Taiwan
Contact:

Post by CapriSkye »

you made the date showing in chinese!! i've been trying to find out how to do that :( good work
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Thanks a lot for the updated and added language files. I just added them to CVS!
# 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/
Guest

Post by Guest »

Thanks for your support.
I have only test it on zh_CN.UTF-8 and zh_CN.GB2312 locale.
I am not sure whether that works with TW locale.

For my linux,TW locale should be expressed as zh_TW,but it is zh-TW in the original files.I do not know the reason.With little knowledge about TW locale,I only add charset after it in serendipity_lang_tn.inc.php for LC_CTIME:

Code: Select all

@define('DATE_LOCALES', 'tw, zh, zh-TW.UTF-8');
If that didn't work with TW locale,it seemed that "zh_TW" should be used:

Code: Select all

zh_TW.BIG5:serendipity_lang_tw.inc.php
zh_TW.UTF8:serendipity_lang_tn.inc.php
skyroam
Regular
Posts: 13
Joined: Sat Dec 11, 2004 1:11 am

Post by skyroam »

Thanks for your support.
I have only test it on zh_CN.UTF-8 and zh_CN.GB2312 locale.
I am not sure whether that works with TW locale.

For my linux,TW locale should be expressed as zh_TW,but it is zh-TW in the original files.I do not know the reason.With little knowledge about TW locale,I only add charset after it in serendipity_lang_tn.inc.php for LC_CTIME:

Code: Select all

@define('DATE_LOCALES', 'tw, zh, zh-TW.UTF-8');
If that didn't work with TW locale,it seemed that "zh_TW" should be used:

Code: Select all

zh_TW.BIG5:serendipity_lang_tw.inc.php
zh_TW.UTF8:serendipity_lang_tn.inc.php
Post Reply