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.
In NetBeans 5.x, we provided localized jar file for Swing UI (filechooser, colorchooser and etc) for non-localized language (e.g. pt_BR and ru) of JDK as ./platform6/lib/locale/swing-l10n_pt_BR.jar Will you add this to NetBeans 6.0 too? translatedfiles/build.xml of release551 branch contains the code to build and include it. The files for pt_BR are already in release60 branch. If it would be complicated, I understand that we don't need to compile them at build time so it's OK if we could integrate swing-l10n_pt_BR.jar into some place so that build system can just pick up it.
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!