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 13892 - I18N - Some words in options->object types do not come from Bundle files
Summary: I18N - Some words in options->object types do not come from Bundle files
Status: CLOSED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: Sun Solaris
: P2 blocker (vote)
Assignee: Petr Jiricka
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2001-07-24 20:30 UTC by Ken Frank
Modified: 2003-07-02 08:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
options.objecttypes window (12.05 KB, image/gif)
2001-07-24 20:31 UTC, Ken Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2001-07-24 20:30:55 UTC
In tools-options->object types, the listings
of items in attached gif 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.

The bug had been in bugtraq before but could not be verified as
fixed; it was closed so this could be entered.

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 Ken Frank 2001-07-24 20:31:56 UTC
Created attachment 1963 [details]
options.objecttypes window
Comment 2 Petr Jiricka 2001-11-01 09:55:11 UTC
Can not reproduce in build FFJ-20011031.

What I did was:
1) manually changed the display names of the loader names in bundle 
files.
2) rebuilt module jar files with the updated properties and copied 
the jars to IDE installation
3) deleted the user settings directory
4) started the IDE

The changed names correctly showed up under the Object Types node.

Comment 3 Ken Frank 2001-12-02 20:35:31 UTC
I still see these issues, perhaps not as many - 
in 11/28 orion build see these not from locale specific
message file:

Taglib Descriptor Objects
JSP Objects
War LoaderDreamweaver Templates Objects
Servlet Objects advanced

(if <displayname of data loader> 
is in this area, then that one too.

Comment 4 Petr Jiricka 2001-12-03 09:38:20 UTC
Ok, sometimes it is necessary to disable and enable the module 
containing the object type in Tools -> Options -> IDE Configuration -
> System -> Modules (as step 5). After doing this, the display name 
reappears correctly.

I tried this for Tag Library descriptor objects and it worked.

Please verify this for the other object types too and close the bug 
if it works.
Comment 5 Petr Jiricka 2001-12-03 09:59:32 UTC
The <displayname of data loader> does not come from Open source code -
 it comes from the J2EE Application Assembler.
Comment 6 Ken Frank 2001-12-03 20:44:07 UTC
Tried it on tag lib descriptor and it 
worked, also on a corba one like this.

I think it still a bug since user should
not need to do this, and it only happens
on a few of these labels in options->object types.

k. frank 12.03.01
Comment 7 Petr Jiricka 2001-12-04 09:54:42 UTC
I think the problem is more in the way we do i18n testing and not in 
the code.

It is true that the user will not want to disable and enable module, 
but on the other hand s/he will also not manually hack the 
Bundle.properties files in module jar files.

So the steps to reproduce should be steps which the user will 
normally do, not an artificial sequence which involves code 
modification.

Here is a new sequence which I believe verifies that this is NOT a 
bug:
1. Install a fresh FFJ CE build, do not run it.
2. In modules/taglibed.jar, extract file 
org/netbeans/modules/web/taglibed/resources/Bundle.properties
3. Modify the value of key TLD_TLDLoader.tld_file in the extracted 
file
4. Put the changed Bundle.properties back into taglibed.jar
5. Start the IDE
6. Go to Tools -> Options -> IDE onfiguration -> System -> Object 
Types

Now the tld loader shows the modified value. Note that no 
disabling/enabling of modules is necessary.

If you feel this is still a bug, please include steps to reproduce 
that would normally be performed by the user.


Comment 8 Petr Jiricka 2001-12-06 15:29:32 UTC
Marking as worksforme per previous comment.
Comment 9 Ken Frank 2002-01-02 21:56:49 UTC
verified - ken.frank@sun.com 01-02-2002
Comment 10 Jesse Glick 2002-12-23 16:34:57 UTC
Consistent use of the I18N keyword.
Comment 11 Quality Engineering 2003-07-02 08:29:36 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.