Page 1 of 1

LANGUAGE FILES for CHINESE

Posted: Wed Dec 08, 2004 1:50 pm
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]

Posted: Wed Dec 08, 2004 6:54 pm
by CapriSkye
you made the date showing in chinese!! i've been trying to find out how to do that :( good work

Posted: Thu Dec 09, 2004 2:31 pm
by garvinhicking
Thanks a lot for the updated and added language files. I just added them to CVS!

Posted: Sat Dec 11, 2004 1:32 am
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

Posted: Sat Dec 11, 2004 1:34 am
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