• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

the Chinese interface tranlastion for DakarRelease


Nice one! It would be really good to get this in ..... Antonio, any chance?

CC


What is the language code for them?

zh seems to stand for "Chinese", without mention about Simplified or Traditional (at least in Firefox).

What I need to know is: what language code (xx-XX) browsers use when users expefct Simplified Chinese, and which one is used when the user expects Traditional Chinese?

AT

http://www.w3.org/International/questions/qa-css-lang#bytheway has a few words on the subject.

But http://www.iana.org/assignments/language-tags lists quite a few possibilities for the ignorant - perhaps you can give a few hints, CheDong?

SP

according to my firefox http header: Accept-Language: zh-cn,zh;q=0.5 zh-cn for Simpified Chinese and I guess: zh-tw for Traditional Chinese

Hope this translation could be release with Dakar

Thanks

CheDong http://www.chedong.com/


Added on SVN 8251.

Two issues:

  • the files you sent both had a unicode character at first position that made GNU gettext tools freak out. I had to remove that so I could check them with tools/check_translations.sh. Please get the files from Subversion when reviewing the translation.
  • when listing available languages, both Simplified and Traditional Chinese are named "中文". Maybe they should be differentiated in some way (in "translating" the _language_name entry.

AT


At revision 8263.

Try svn co http://svn.twiki.org:8181/svn/twiki/branches/DEVELOP . instead smile TWiki:Codev.HowDoesTheDEVELOPBranchWork has more on the two branches.

-- SP

Thanks


CheDong
  • for Simplified Chinese: 简体中文
  • for Traditional Chinese: 繁体中文
  • I'v svn checkout the develop branch and cp the lastest zh-cn.po and zh-tw.po to my locale but seem not work even I reconfigured with: http://www.chedong.com/twiki/bin/view zh.po is ok before
    1. $TWiki::cfg{Languages}{zh-tw}{Enabled} = 1;
    2. $TWiki::cfg{Languages}{zh-cn}{Enabled} = 1;

btw: this TWiki not config with utf-8 frown all Chinese input transform to htmlentities like I first time use twiki


Hi AT:

I'v checked the zh-cn.po and zh-tw.po and modified some other entries. Please help slove the zh-tw and zh-cn in cfg{Languages} problem: seem it's not work in bin/configure, I temporarily use zh.po and tw.po instead and tested in my site: http://www.chedong.com/twiki/bin/oops/Main/WebHome?template=oopschangelanguage and now shown ok

Please reload the language file into locale:

  • zh.po ==> zh-cn.po
  • tw.po ==> zh-tw.po

Thanks

CheDong

This is a bug. The key in that hash config should be written as {'zh-tw'}.

But since all languages are enabled by default (in TWiki.cfg) it should work, the problem for now is disabling them.

AT

Just added the updated translations (SVN 8277). CheDong, in next times, please update the translations in a svn checkout and send just a patch against current revision, ok? smile

I guess we can close this item, the configuration issue is already reported as another one.

And wow, CheDong, thank you for your contribution! smile

AT

Yep, seeing TWiki "omnipresent" in so many languages is a cool feeling. A thank you from here as well, CheDong!

Hope you're with us again for "the final round", once we really decide to freeze *g*.

-- SP

Thanks, I'll follow the new bug Item1388, and send the lastest patch next time. Hope DakarRelease could be released soon. smile

--CheDong

ItemTemplate
Summary Chinese translation ANTONIO PLEASE REVIEW
ReportedBy CheDong
Codebase

SVN Range Fri, 06 Jan 2006 build 8154
AppliesTo Engine
Component

Priority Enhancement
CurrentState Closed
WaitingFor

Checkins 8251 8252 8275 8277
Topic attachments
I Attachment History Action Size Date Who Comment
Unknown file formatpo tw.po r1 manage 89.2 K 2006-01-13 - 08:11 CheDong Traditional Chinese language file
Unknown file formatpo zh.po r5 r4 r3 r2 r1 manage 89.2 K 2006-01-13 - 08:03 CheDong Simplified Chinese in UTF-8 updated 2006-01-13
Edit | Attach | Watch | Print version | History: r17 < r16 < r15 < r14 < r13 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r17 - 2006-01-15 - CheDong
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback