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 60408 - I18N - some components seeded values on pallette not from bundle file
Summary: I18N - some components seeded values on pallette not from bundle file
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 5.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-06-22 20:57 UTC by Ken Frank
Modified: 2006-01-26 10:12 UTC (History)
2 users (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 2005-06-22 20:57:36 UTC
when using new gui tool (invoking with the special switch),
and with pseudo localized module jars, some of the seeded values
shown in some components as default are not form bundle

for example, jtree shows as its dragged or in design, 
the words colors, sports, food

or jtable has Title1, Title2, etc, or a frame has default menus
File, Edit, Help and there are others.

Do these labels come from an image or from other external jars ?

if from image, suggest the label be separated from image to help l10n.

I am not talking about items that just show a default name for the
item, like jButton1, since this can be changed by user but the
ones with other kinds of labels like JTree.

if from external jar, suggest we might have our own bundles so that
these can be localized; since these are different than the properties
names which cannot be localized (font, foreground,border, etc etc)
since are api reserved words.
Comment 1 Jan Stola 2005-08-19 11:14:36 UTC
The mentioned values come from different places.

* the words shown in a JTree are hardcoded in the default constructor
  of the JTree itself e.g. are hardcoded in the JDK itself. That's
  not very nice, but we should show these values because they are
  part of the default state of this component.

* the values "Title" and "Item" in JComboBox, JList and JTable
  weren't internacionalized and that has been fixed. These strings
  are taken from NetBeans resource bundles by now.

* "File", "Edit", "Help" values come from templates. So, there is no
  problem because the templates itself must be localized as a whole.
Comment 2 Ken Frank 2005-08-19 15:06:52 UTC
Jan, for the msgs that come from templates - can you tell me the
name of product jar file and name of the template files ? I want to
see if they are something that is normally localized and if so,
did I do it in the testing ? But I'm wondering it these are things
that show in UI, if they should be from bundle files instead  ?
I thought template files were for somethings like some comments
in a .java file that is created as part of a new project, for example,
or there are the template descriptor html files that show in the first
panel of new file or new project wizard.

ken.frank@sun.com
08-19-05
Comment 3 Marek Grummich 2006-01-26 10:12:54 UTC
Verified