This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | I18N: need to include localized swing-l10n jar file for 6.0 | ||
---|---|---|---|
Product: | www | Reporter: | Masaki Katakai <masaki> |
Component: | Builds & Repositories | Assignee: | nbbuild-issues@ide <nbbuild-issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | jf4jbug |
Priority: | P2 | Keywords: | I18N |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: | Commit log from translation files reorganization in translatedfiles/src/swing/src/(plus one more time "swing/src/") |
Description
Masaki Katakai
2007-11-26 06:20:51 UTC
please give some more information on this file and what it does. Since nb6 could be different we need to make sure the msgs in this file are found when needed and don't conflict with other things. Why is this file needed ? It is true that jdk is translated just for a few locales and if not in those locales, the msgs will be in english; its same as other modules in ext dirs that are either not translated or translated just for some locales. Does it work for pt_BR in nb6 if this file is in that location mentioned ? And is expectation that community would each create and add such a file also ? I don't think its good just to add file separately either than have build do it. ken.frank@sun.com please give some more information on this file and what it does. Since nb6 could be different we need to make sure the msgs in this file are found when needed and don't conflict with other things. Why is this file needed ? It is true that jdk is translated just for a few locales and if not in those locales, the msgs will be in english; its same as other modules in ext dirs that are either not translated or translated just for some locales. Does it work for pt_BR in nb6 if this file is in that location mentioned ? And is expectation that community would each create and add such a file also ? I don't think its good just to add file separately either than have build do it. ken.frank@sun.com I'll update nb_all/core/build.xml to enable this build for 6.0 ML build. I've updated the build to produce the requested swing-l10n.jar file. Checking in build.xml; /cvs/core/build.xml,v <-- build.xml new revision: 1.97.6.1; previous revision: 1.97 done Thank you very much Rudolf. It seems that path is not correct so pt_BR messages are not localized now. % jar tvf ./platform7/lib/locale/swing-l10n_pt_BR.jar ... swing/src/com/sun/swing/internal/plaf/basic/resources/basic_pt_BR.properties swing/src/com/sun/swing/internal/plaf/metal/resources/metal_pt_BR.properties swing/src/com/sun/swing/internal/plaf/synth/resources/synth_pt_BR.properties ... "swing/src/" is not needed. Could you please update build.xml again so that these .properties are included from "com/sun/..." ? Accepted. Created attachment 55020 [details]
Commit log from translation files reorganization in translatedfiles/src/swing/src/(plus one more time "swing/src/")
Masaki, the problem was in incorrectly checked-in translation files, which were for some reason in translatedfiles/src/swing/src/swing/src (see two times "swing/src/") and directory translatedfiles/src/swing/src is root for taking classes and property files into localization jarfiles for swing-l10n. That's why it was incorrectly placed in localization jarfile. Thank you very much Rudolf, I verified the fix is working fine on 2008-01-15_01-16-45 build. Great! |