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 13891 - I18N - Some words in options->object types not come from Bundle files
Summary: I18N - Some words in options->object types not come from Bundle files
Status: CLOSED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: _ pkuzel
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2001-07-24 20:23 UTC by Ken Frank
Modified: 2003-07-02 08:39 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2001-07-24 20:23:38 UTC
In tools-options->object types, the words
CSS, DTD, XML Objects do not
come from Bundle files even though Bundle files
may have those words. Thus, users of localized release 
will not see these in their language.

If these come from manifest files, which are not
now localized, can they (and any other items that
can be localized) be put into bundle files.

There is a mechanism now in place to do this; see 12549.
Comment 1 _ pkuzel 2001-09-07 16:40:19 UTC
I checked it and all seems OK in original Forte's module. What module
did you used? 

Object types string = displayName of loader    from bundle
Module description  = manifest entry           from bundle (fixed now)
Comment 2 Ken Frank 2001-09-07 17:30:53 UTC
I saw this using FFJ Pilsen FCS.
The words appeared to be in the bundle files, but
just not shown as coming from pseudo localzied 
bundle files. 
This situation happened with some other FFJ modules
and bugs were filed in those also.

ken.frank
2001-09-07
Comment 3 _ pkuzel 2001-10-09 09:41:06 UTC
Need to reassign.
Comment 4 _ pkuzel 2001-10-09 09:44:43 UTC
Hello Ken,
could you please update bug status. As it is not caused by bug in XML
module code, I would appreciate if you can resolve it as all other
bugs of this flavour you have entered.
Comment 5 Ken Frank 2001-10-09 15:51:19 UTC
Petr mentioned that this issue was not from xml
module and suggested openide, so am changing
it to that - the issue is seen in localized release
also, and there have been other similar bugs filed
on other modules.

Email between Petr and myself below:

ENNETH FRANK wrote:
> 
> Petr,
> 
> You had asked me to update bug's status.
> Can you tell me what needs updating,
> or what other module this might be from ?
> As I mentioned, I saw the words like
> CSS Objects in bundle files but on using pilsen,
> it did not come from the localized bundle file.
> 
> And looking at localized FFJ, also see this
> situation. I've filed bugs in other areas
> on this same issue, so if you can let me
> know which module area this bug needs to be
> in, I'll transfer it there.
> 
> Thanks - Ken

As far as I know you have probably mixed settings of
English and a other locate. Non I18N texts you have reported
are in code properly I18N-ed but calls to this core is cached
(and serialized as a setting) by OpenIDE. If it is the case you
should report an error agains OpenIDE that is serializes/persistently
stores display names.

ken.frank@sun.com 2001-10-09
Comment 6 _ ttran 2001-10-18 21:22:55 UTC
Ales, please investigate.
Comment 7 anovak 2001-10-19 10:44:40 UTC
After a brief look, it looks that DataLoader has the
defaultDisplayName() method back from March 2001. Loaders are
recommended to provide this method instead of invoking setDisplayName().

So either this bug is fixed in post Pilsen releases or the XML module
should should provide its display name by the default method.
Comment 8 anovak 2001-10-19 11:00:17 UTC
So - DTDDataloader and XMLDataLoader contain in their initialize
methods setDisplayName(...). Can you just provide
defaultDisplayName()? Also, throw away whole initialize method if
possible, i.e. use createDefaultActions() instead, see java module for
instance. We are pushing to do it for performance reasons.
Comment 9 _ pkuzel 2001-10-19 13:10:07 UTC
Strange API but what can we do. Will fix it to experimental XML module
alpha.
Comment 10 _ pkuzel 2001-10-23 16:54:04 UTC
Ales's suggestion applied.
Comment 11 Jan Zajicek 2001-10-25 10:16:45 UTC
Just updating the subcomponent.
Comment 12 hiroshiy 2001-11-30 10:27:15 UTC
Comment: Verified on Release 3.3 Beta 6 (Build 2001112701845)
Comment 13 Jesse Glick 2002-12-23 16:34:55 UTC
Consistent use of the I18N keyword.
Comment 14 Quality Engineering 2003-07-02 08:39:57 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.