about chinese

Discussion corner for Developers of Serendipity.
Post Reply
coolshou

about chinese

Post by coolshou »

Serendipity is a great project
but~~
some language default is not so good in my opinion.
i am a Traditional chinese user.
on chinese lang i found some odd behavior.
the Serendipity lang is set to tn (Traditional Chinese (UTF-8 )) and my browser's lang is zh-tw, web server will always output webpage in Simplified Chinese (GB2312).

the default is
zh --> Simplified Chinese (GB2312).
tn --> Traditional Chinese (UTF-8 )

would that be possibility to change like these
1.in file serendipity_config.inc.php
tn change to zh-TW --> Traditional Chinese (UTF-8 ) ( unicode is better in the future use in my opinion )
zh change to zh-CN --> Simplified Chinese (GB2312) (or Simplified Chinese (UTF-8 ) I don't known which one use more in china)

2.also change file name in lang/ dir
serendipity_lang_zh.inc.php -->serendipity_lang_zh-CN.inc.php
serendipity_lang_tn.inc.php -->serendipity_lang_zh-TW.inc.php

it work fine on my testing web server
Thank you
CapriSkye
Regular
Posts: 119
Joined: Sun Oct 31, 2004 4:42 am
Location: Taiwan
Contact:

Post by CapriSkye »

chinese traditional language has two files, one under utf-8 encoding and one under big5.

so what you need is serendipity_lang_tw.inc.php not serendipity_lang_tn.inc.php.
Post Reply