From: Ray L. <ra...@hc...> - 2002-10-18 09:49:47
|
Hi all, I think Tomas is right. Simplified Chinese should use zh_CN as its locale. And I am sorry that I have somthing to post again. If there is any body may help me to correct the bug in i18n.php(Ver 1.3.1) this lines(which is remarked in 1.2.x): $languages['zh_TW']['NAME'] = 'Chinese'; $languages['zh_TW']['CHARSET'] = 'gb2312'; $languages['tw']['ALIAS'] = 'zh_CN'; should be correct into: $languages['zh_CN']['NAME'] = 'Chinese'; $languages['zh_CN']['CHARSET'] = 'gb2312'; $languages['cn']['ALIAS'] = 'zh_CN'; thanks in advance. -----Original Message----- From: Tomas Kuliavas [mailto:to...@us...] Sent: Friday, October 18, 2002 5:38 PM To: squ...@li... Subject: Re: [SM-I18N] Problem on writting new translation > I would want to add new translation of Simplified Chinese. I finished > the squirrelmail.po file by changing from > /zh_TW/LC_MESSAGE/squirrelmail.po and copy into /sc_SC/LC_MESSAGE/. > > After that add > $languages['sc_SC']['NAME'] = 'Simplified Chinese'; > $languages['sc_SC']['CHARSET'] = 'gb2312'; > $languages['sc']['ALIAS'] = 'sc_SC'; > > and nothing else. > In the option I can't choose "Simplified Chinese". But the pages can't > show the words I input but only show the default of "en_US" > > What else should I do to enable my language ? > And how can I post my .po file for every one to share it ? you have to compile your translation with 'msgfmt squirrelmail.po -o squirrelmail.mo' command. po directory has compilepo script that does the same trick. ./compilepo sc_SC your server must have compiled sc_SC locale. I think command 'localedef sc_SC -i sc_SC -f GB2312' would do the trick on linux. After you compile translation and system locale I would suggest to restart your webserver. Are you sure that your locale is not zh_CN? Linux Debian woody does not have sc_SC locale. You can post translation to this list. Developers will add it to cvs. You only need to say what squirrelmail version uses your translation. stable or devel. -- Tomas Kuliavas To moderator: sorry for double post. Just cancel the message with wrong email address. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf -- squirrelmail-i18n mailing list List Address: squ...@li... List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-i18n http://squirrelmail.org/cvs -- Ray Liao Hitron Technologies |