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 - NBS token names cannot be localized
Summary: NBS token names cannot be localized
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: languages (show other bugs)
Version: 5.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2007-04-12 16:53 UTC by _ tball
Modified: 2007-04-27 23:52 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!