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 26196

Summary: I18N - BeanInfo editor is not internationalization/bundle-friendly
Product: java Reporter: _ tboudreau <tboudreau>
Component: BeansAssignee: Jan Becicka <jbecicka>
Status: NEW ---    
Severity: blocker CC: kfrank
Priority: P3 Keywords: I18N
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: ENHANCEMENT Exception Reporter:

Description _ tboudreau 2002-08-01 17:52:26 UTC
It is nearly impossible to use the BeanInfo editor
to generate an
internationalized BeanInfo class - it hard-codes
strings for all
of the descriptions.  It should offer the option
of automatically
generating a bundle (including generating keys) or
adding them to an
existing bundle.  This would make it much more
useful - as it is,
you have to generate the BeanInfo and then
manually remove the 
//GEN-BEGIN, etc. comments and hand edit it to use
bundles.
Comment 1 Ken Frank 2002-10-12 19:29:45 UTC
Changing to defect after consulation with nb QA and comments from nb
strategy that some i18n rfes could actually be viewed as defects. We
think this
one is more like a defect so am changing it to that. 
Let me know if more details are needed.
ken.frank@sun.com
Comment 2 Jesse Glick 2002-12-23 16:37:47 UTC
Consistent use of the I18N keyword.
Comment 3 Svata Dedic 2003-01-07 15:40:59 UTC
I do not agree this is a defect; the user *is* able to produce I18Ned
beaninfo - by using e.g. bundle.getString("") instead of plain "".
What you are asking for is rather a quite large feature/rewrite than a
bugfix.