Bug 204231 - [nls tooling] Provide a resource bundle editor
Summary: [nls tooling] Provide a resource bundle editor
Status: ASSIGNED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows 2000
: P5 enhancement with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: JDT-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2007-09-21 03:57 EDT by Mauro Molinari CLA
Modified: 2009-06-15 09:17 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mauro Molinari CLA 2007-09-21 03:57:21 EDT
Build ID: I20070625-1500

Steps To Reproduce:
I think it would be VERY useful if Eclipse JDT provided an own resource bundle editor, like NetBeans does.

I think a good starting point could be the Resource Bundle Editor:
http://www.resourcebundleeditor.com/
It's open source and maybe it could be included in the official JDT project?

Some features it would be nice to have:
- hierarchical view of keys using dots (".") in their names
- text-area editor for each key value
- additional table view of key values (like NetBeans)
- support for the difference between empty values and null (missing) values, respecting the java.util.ResourceBundle key search mechanism
- transparent handling of each locale property file, with automatic conversion to escaped ISO-8859-1 charset encoding

All these features are already in Resource Bundle Editor, except for the second one (which is in JInto, for example).
There are also some problems with the handling of empty values vs null values.
The main problem of this third-party plugin is that it is not updated very frequently and now it has some small issues with Eclipse 3.3.

More information:
Comment 1 Dani Megert CLA 2007-09-21 04:07:59 EDT
I'm marking this as wontfix, as we already have the properties file editor and along that line feature enhancements for that editor (e.g. show outline), provide wysiwyg feature etc. (look for [nls tooling] in the summary). There are no plans to provide an additional editor.
Comment 2 Mauro Molinari CLA 2007-09-21 06:41:55 EDT
Hi Daniel,
the fact that resource bundles usually work with .properties file does not simply mean that the properties file editor is really useful when working with resource bundles: it is like saying that an advanced Java text editor like JEdit is the same as Eclipse because it allows to edit Java files...

Providing the outline for a property file is certainly useful, but how to jump to one locale property file to another? How to easily translate new strings for one or more locale? How to quickly compare two locale properties files?

If you ever used ResourceBundleEditor or NetBeans's editor, you should understand what I mean.

I made a search for "[nls tooling]", but I couldn't find any answer to these questions. I know Eclipse can "externalize strings", yes... but then? How should a developer manage those localization properties files? Using the properties file editor on each single .properties file, manually adding/removing/renaming keys on each file and continuously jumping from one file to another? It's a nightmare! And it's an error-prone process.

Something similar is outlined in bug #113080, but I think this is just part of the problem.

I'm sorry to see that, even if there is currently no plan for a new editor, my proposal isn't even taken into consideration...

Mauro.
Comment 3 Dani Megert CLA 2007-09-21 06:47:56 EDT
>I'm sorry to see that, even if there is currently no plan for a new editor, my
>proposal isn't even taken into consideration...
It's just not on our plan. If someone really wants this feature they can implement it and contribute it - that's what open source is all about.
Comment 4 Mauro Molinari CLA 2008-01-02 05:01:13 EST
I recently heard that Resource Bundle Editor will become part of Eclipse Babel project. I don't know if my enhancement request contributed in any way for this to happen, however I'm very happy and I hope that this will help Eclipse to improve on this aspect, too.

Mauro.
Comment 5 Benjamin Muskalla CLA 2008-07-09 15:17:35 EDT
See also bug 239475