Localizing Firefox
Friday, June 25th, 2004I ended up volunteering to architect the localization of Firefox 1.0 and beyond into the new toolkit. This is not a small undertaking, but it looks to be relatively manageable on the aviary branch, since I don’t need to worry about breaking seamonkey on the branch.
The consensus between developers is that we need to get the localizations into the CVS repository. This will help with quality control and openness, and perhaps help companies that base products from the mozilla codebase to benefit from localization efforts. In addition, we need to collect all the en-US locale files that are scattered throughout the tree into a small set of locations. These will be:
toolkit/locales/ab-CD
browser/locales/ab-CD
mail/locales/ab-CD
“pseudo-extensions” (xmlextras) that are actually part of the toolkit will be moving into the toolkit directory. “Real extensions” (DOM inspector) will be localized in their own tree (extensions/inspector/locales/ab-CD).
I hope to blog regularly with updates, as I make progress and make decisions. There are still some leftover issues with how the installers are going to be shipped. We want to strike a balance between not forcing leaf to build 10-20 releases, and not having a single release with all localizations in it, which has the possibility to be quite bloated.
To facilitate the transition, I am adding support for preprocessing jar.mn files. Please do not use this feature unless you are aware of the issues (in particular, don’t use platform-specific #ifdefs in jar.mn files… it causes havoc when you start to ship language packs).