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.

Bug 71855 - I18N: "File System API", "Utilities API", "Module System API" are not from Bundle
Summary: I18N: "File System API", "Utilities API", "Module System API" are not from Bu...
Status: VERIFIED FIXED
Alias: None
Product: nblocalization
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@nblocalization
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2006-01-25 14:29 UTC by Masaki Katakai
Modified: 2006-02-16 05:59 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
translatedfiles/build.xml has wrong path for these modules (1.12 KB, patch)
2006-01-26 02:16 UTC, Masaki Katakai
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Masaki Katakai 2006-01-25 14:29:58 UTC
Try ml build 200601221400 JA

1. Start IDE
2. Option -> NetBeans Platform Manager
3. See list of Platform Module

These three module names "File System API", "Utilities API" and "Module System
API" are still English. Actually these are localized in resource bundle. Is this
just i18n issue or build issue?
Comment 1 Jesse Glick 2006-01-25 19:08:43 UTC
It ought to work. Source:
org.netbeans.modules.apisupport.project.Util.findLocalizedBundleInfoFromJAR.
Perhaps the localized JARs are in the wrong place. For lib/*.jar it should be in
lib/locale/*.jar and for core/*.jar in core/locale/*.jar. Please attach a file
list for the localized build - I don't have one handy.
Comment 2 Ken Frank 2006-01-25 21:29:05 UTC
2 of the msgs are in jars in platform6/lib dir
and 1 is in platform6/modules

I'll check to see if these 3 localized jars are built - they had been in past

then, if built and localized msgs in it, then it could be issue with msg
not coming from localized bundle.

org-openide-modules
org-openide-filesystems
org-openide-util

ken.frank@sun.com
Comment 3 Ken Frank 2006-01-25 21:54:06 UTC
for the 2 localized jars in platform6/lib/locale, the localized files are in wrong
path - it starts as

src/org/openide....
instead of as in en one
org/openide/.....

- thus this might be issue with putback to translatedfiles or build script
issue where it places localized in incorrect path
or maybe kit issue that its in wrong place but that has been correct before.



for the one that is in platform6/modules/locale/*awt*,
the path looks correct in localized however.

ken.frank@sun.com
Comment 4 Jesse Glick 2006-01-25 22:27:23 UTC
I know where the JARs are normally. I need to know where the _ja.jar variants
are in the localized build.

Also check Module Manager to see if the names are localized there.
Comment 5 Jesse Glick 2006-01-26 01:00:47 UTC
OK.
Comment 6 Masaki Katakai 2006-01-26 02:16:26 UTC
Created attachment 28601 [details]
translatedfiles/build.xml has wrong path for these modules
Comment 7 Masaki Katakai 2006-01-26 02:20:06 UTC
Hi Rudolf,

Could you check this issue and update build.xml for translatedfiles?
Or give OK to me for check-in the patch.

Thanks,
Masaki
Comment 8 rbalada 2006-02-13 21:10:05 UTC
Next build will get the change.

$ cvs ci -m "Added new property blueprints.locales to list of locales supportin
g blueprints. Added new language 'Albanian' to the list of lcoales. Fixed path
to source of three modules (issue 71855). Fixed building of blueprints jarfiles
 only for locales which do have translated blueprints catalog." build.xml
Checking in build.xml;
/cvs/translatedfiles/build.xml,v  <--  build.xml
new revision: 1.110.2.5; previous revision: 1.110.2.4
done
Comment 9 Masaki Katakai 2006-02-16 05:59:38 UTC
Thank you very much, Rudolf!! I have verified these fixes (both for module and
blueprints) on 0215 daily builds - Solaris/SPARC platform.