From: Tomas K. <to...@to...> - 2002-10-18 09:27:15
|
> 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 |