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 100810

Summary: NBS token names cannot be localized
Product: obsolete Reporter: _ tball <tball>
Component: languagesAssignee: Daniel Prusa <dprusa>
Status: VERIFIED FIXED    
Severity: blocker Keywords: I18N
Priority: P2    
Version: 5.x   
Hardware: PC   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description _ tball 2007-04-12 16:53:12 UTC
Schliemann defines an entry for an NBS in the Fonts & Colors Options list (thank
you!).  The language name is localized by adding a bundle property for the
mime-type name, but there is no way to localize the token ids like languages
which don't use Schliemann.  Since these tokens are displayed to the user, they
need to support localization.
Comment 1 Daniel Prusa 2007-04-26 15:18:33 UTC
Fixed. Token names can be localized as follows:
1) In layer, add SystemFileSystem.localizingBundle attribute into
Editors/text/language_name folder
2) In the referenced bundle
   - add text/language_name=Language Name to localize language name
   - localize NBS token names
Comment 2 _ tball 2007-04-27 00:41:36 UTC
Thank you for fixing this so quickly.  However, I cannot verify it because with
the latest trunk my mime-type is no longer listed in the Language drop-down menu
for the Fonts & Colors options dialog.  To see if it was a problem in my module
I built the languages/cobol module, but it is also not listed.  Is there
something my module now needs to do to get in the list (it was listed last
week), or should I file a separate bug?
Comment 3 _ tball 2007-04-27 23:52:10 UTC
Verified with latest build -- thanks!