Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » i18n problem: Key of externalized string fails to sync when changing name of widget.
i18n problem: Key of externalized string fails to sync when changing name of widget. [message #699211] Thu, 21 July 2011 01:25 Go to next message
Basil Bourque is currently offline Basil Bourque
Messages: 4
Registered: July 2011
Junior Member
1) Create a JFrame with a JLabel.
2) Externalize strings.
3) Change the "Variable" property of the JLabel using the Properties sheet.
4) Click the ellipsis icon "..." of the "text" property of the JLabel.
--> BUG: The key value of the externalized string has not been updated with the JLabel's new variable name.

Is there some setting I have failed to set to cause i18n syncing?
Or is this a bug?
Or does WindowBuilder have this syncing as a feature? (That would be most unfortunate.)

JFormDesigner does this syncing well.

--Basil Bourque
Re: i18n problem: Key of externalized string fails to sync when changing name of widget. [message #699554 is a reply to message #699211] Thu, 21 July 2011 15:01 Go to previous messageGo to next message
Eric Clayberg is currently offline Eric Clayberg
Messages: 737
Registered: July 2009
Location: Boston, MA
Senior Member
I would not call this a "bug" at all. At best, it is a feature that we (or you) could add in the future.

The keys that WB generates are initialized originally from the variable names but you can change them to anything you want (they are editable). Keeping those keys in sync with changing variable names was never a requirement and, in fact, you are the first person to ask for this.

Please submit a feature request to Bugzilla (Tools >WindowBuilder), and we will consider adding that as an option in the future.
Re: i18n problem: Key of externalized string fails to sync when changing name of widget. [message #699681 is a reply to message #699554] Fri, 22 July 2011 00:56 Go to previous message
Basil Bourque is currently offline Basil Bourque
Messages: 4
Registered: July 2011
Junior Member
Thanks. I'll add the feature request.
Previous Topic:Change code generation
Next Topic:How to clear i18n? Where is i18n meta-data kept?
Goto Forum:
  


Current Time: Thu May 23 01:46:11 EDT 2013

Powered by FUDForum. Page generated in 0.01701 seconds