While reviewing A. Decorte (fur-IT) problems with MT, I've found an
issue in the way MT deals with JAR files. MT ignores everything in the
JAR file that is not under /locale/ab-CD/ (and does so in a deliberate
way, not by accident). However, current Firefox JARs have these
directories:
/locale/branding/
/locale/browser/
/locale/browser-region/
/locale/ab-CD/
While not trivial, I think I could remove the /locale/ab-CD/ structure
requirement and stick just to /locale/. That would solve the problem
with Firefox and Sunbird JAR files (Thunderbird ab-CD.jar has
everything under /locale/ab-CD/), but I'm a bit worried about possible
problems that extension localizers could face after this change.
Since I don't know how many people are using MT for localizing
extensions, and I've almost never used it myself for that, I'd rather
ask you for your opinion. Does anyone see a problem in relaxing the
directory structure requirement in MT to just /locale/ instead of
/locale/ab-CD?
TIA
--
If it's true that we are here to help others,
then what exactly are the OTHERS here for?
Maybe we could have an option to switch between both?
Regards
Alexander Ihrig
--
Thunderbird Mail DE
http://www.thunderbird-mail.de
Actually, that's what I'm coding. :-) This will be a property of each
JAR-based product in MT (CVS-based products read every dir and file).
BTW, actually MT reads *all* files in JAR mode too, but it "eats" the
subdir name under "locale/" when adding the files and sub-subdirs into
the structure, so:
/locale/branding/brand.dtd
/locale/browser/aboutDialog.dtd
/locale/browser/bookmarks/addBookmark.dtd
/locale/browser-region/region.properties
/locale/ab-CD/autoconfig/autoconfig.properties
are laid into Plaftorm Neutral this way:
brand.dtd
aboutDialog.dtd
bookmarks/addBookmark.dtd
region.properties
autoconfig/autoconfig.properties
Let's get back to the Java code... :-)
Ricardo