Thank you Grant But this translation work is done by a team of people, not myself personally, let's say Chandler fans translated it. So should we all sign the ContributorLicenseAgreement or other ways?
On Tue, Nov 25, 2008 at 4:27 AM, Grant Baillie <[EMAIL PROTECTED]>wrote: > On 23 Nov, 2008, at 03:59, est wrote: > > > I guess PyICU is using ISO 639-1 standard, so I am trying to > > localize Chandler using a file called Chandler-zh.po > > > > But my problem is, whenever I select Chinese(Taiwan) from File >> > > Switch Language menu, Chandler starts with an error > > > > I18nException: Invalid PyICU Locale: 'zh_HA' > > > > The problem is ISO 639-1 does not make a difference between > > Simplified Chinese and Traditional Chinese. > > > > So how can I force Chandler to use Chandler-zh_CN.po or Chandler- > > zh_TW.po? > > Hi, est > > First, we don't require that the .po filename only use the country > (ISO 639-1) code; it's OK to have Chandler-zh_CN.po or Chandler- > zh_TW.po. > > However, I had a look through our code, and there are at least 2 bugs > in the way we handle Chinese locales: > > 1) When you change language from the dialog, Chandler is relaunched > with the new locale on the command line. However, the value passed is > an ICU locale ID, as in: > > http://www.icu-project.org/userguide/locale.html > > In the case of TW, this is "zh_Hant_TW". However, the app actually > expects a Posix locale ID (e.g. "zh_TW"), and the code that tries to > interpret "zh_Hant_TW" is not correct, leading to the error about > "zh_HA". > > 2) There is over-zealous code to detect whether a locale is valid or > not, which will reject "zh_TW" and "zh_CN". > > I know how to fix 2, but I'll have to dig a little further to figure > out the best fix for #1. > > > btw: The Chinese translation of Chandler is almost over, can we > > commit it to the official Chandler SVN? > > That's great! The one thing we will need is for you to sign and send > to us a contributor license agreement, available at: > > [HTML] http://www.osafoundation.org/ContributorLicenseAgreement.html > [PDF] http://www.osafoundation.org/ContributorLicenseAgreement.pdf > > Once that's done, send me (or the list) the .po file, and I'll commit > to our localizations SVN repository. Longer term, it's possible to > give you commit privileges to this repository. > > --Grant > > > _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > > Open Source Applications Foundation "chandler-dev" mailing list > http://lists.osafoundation.org/mailman/listinfo/chandler-dev >
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Open Source Applications Foundation "chandler-dev" mailing list http://lists.osafoundation.org/mailman/listinfo/chandler-dev
