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 127857 - [60cat] Automatic internationalization uses wrong format
Summary: [60cat] Automatic internationalization uses wrong format
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2008-02-20 12:43 UTC by tboerkel
Modified: 2008-05-05 13:54 UTC (History)
0 users

See Also:
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
Description tboerkel 2008-02-20 12:43:10 UTC
[ BUILD # : 200711261600 ]
[ JDK VERSION : 1.6.0_03 ]

Automatic internationalization of labels etc. uses the last used
format from the "internationalization wizard" or "insert
internationalized string" dialog.

But it should always use the standard format
Comment 1 Jan Stola 2008-03-20 14:37:46 UTC
I believe that this is as designed. Note that it works in the same way without automatic internationalization. If you 
do your internationalization by hand using GUI builder (through property sheeet) then the last format is (re-)used.

If you change the format then there is a high probability that you want to use this format again - you hardly ever need 
several different formats of internationalization. Automatic internationalization would be useless in project where you 
want a format different from the default one.
Comment 2 tboerkel 2008-03-20 18:54:38 UTC
That's not OK. 

In my opinion, you will almost always want the standard format for the GUI (labels, etc.). 

Then, you use for one time the placeholder format for one string in the code and from that point on you always get that
format for the GUI, too.

And what's worse, there is no intuitive way to change the "default" format. You then have to pretend that you want to
add some strings, change the format and leave the dialog.

Reopening and changing to "Enhancement" because I find it very annoying.
Comment 3 Jan Stola 2008-03-21 07:57:54 UTC
OK, I agree that it would help to have some setting for the "default" format. I18N dialogs would offer this format as 
their default value then and they would not change the "master" setting when a different format is set there (in the 
current I18N dialogs).