Calendar:Localization

From MozillaWiki
Revision as of 12:22, 13 February 2005 by Sipaq (talk | contribs)
Jump to navigation Jump to search

Translating Sunbird 0.2+:

Sunbird is moving towards providing the same means of translation being defined for firefox and other Mozilla applications in general. The two main bugs tracking this are 281935 and 267981. We hope to have this ready as soon as possible so translators can begin their work. The procedure would be to follow the instructions found at Firefox:1.1_Localization when building Sunbird. That means that we will have a "calendar" directory added to the directories already on /l10n/AB-CD

Translating Sunbird 0.2:

Since sunbird 0.2 was branched from the trunk at a time when the new method of translating wasn't yet completely implemented, and since Sunbird 0.2 doesn't have means of installing extensions, unfortunately there is no clean way of translating it. This doesn't mean it is impossible to achieve that goal though. The most practical ways have proven to be the following which are based on the idea of replacing the en-US files:

  • If the language of your choice is NOT being shipped with Sunbird 0.2, you have to provide a calendar-ab-CD.jar file that includes the locale files of your language for calendar. Once you have that file inside the chrome directory along-side other calendar.jar files you can proceed with the next step.
  • If the language of your choice is being already shipped with Sunbird 0.2, to start using it in that language all you need to do is to follow the instructions here: Sunbird:language-switch.If you repackage the sunbird directory with the modified chrome.rdf file you should have a Sunbird dist in that language.Important note: Doing so will just get you a translation of the calendar UI only. Parts that belong to the toolkit like the password manager will still be English. If you want to go further in translating those parts too you have to translate the en-US.jar file as well as en-win.jar, en-unix.jar and en-mac.jar and modify chrome.rdf in the same manner you did to replace the en-US files for calendar but this hasn't been tested so you have to overcome the problems you may encounter on your own. In that case, please do share your experience for the benefit of others.

Help Wanted

Altogether we apologize if things are not straightforward the way they are but that's due to our limited resources. Hopefully the next versions of Sunbird will come with the same convenient way of translation provided for other Mozilla applications and will start appearing among the list of MLP covered projects. We can certainly use all the help you can offer to make that happen.