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 25791 - Message 'NetBeans Extensions &IDE plugin' not from bundle file
Summary: Message 'NetBeans Extensions &IDE plugin' not from bundle file
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: apisupport (show other bugs)
Version: 3.x
Hardware: All Windows 3.1/NT
: P3 blocker (vote)
Assignee: akemr
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2002-07-18 18:18 UTC by gautham mudra
Modified: 2009-11-07 11:39 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages not from bundle file (26.88 KB, image/png)
2002-07-18 18:19 UTC, gautham mudra
Details
checked New Wizard with pseud localized words(jpg) (37.19 KB, image/jpeg)
2003-12-01 07:25 UTC, mtsuruta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gautham mudra 2002-07-18 18:18:39 UTC
I am testing a pseudolocalized version of Netbeans3.4 with prefix 
and suffix japanese characters.
The messages "NetBeans Extensions" and "IDE Plugin" which is under 
the NetBeans Extensions node do not come from the bundle file.
steps to reproduce:
1.go to File->NewWizard.
2.check the Node "Netbeans Extensions".
3.click to expand this node and check the message "IDE plugin" 
under the node.

I have attached a snapshot.

OS:Windows2000
NetBeans3.4dev
Comment 1 gautham mudra 2002-07-18 18:19:18 UTC
Created attachment 6793 [details]
messages not from bundle file
Comment 2 Jesse Glick 2002-07-19 15:58:44 UTC
Confirmed with -J-Dorg.openide.util.NbBundle.DEBUG=true in a release34
build w/ moduleconfig=stable-with-apisupport; the bundle annotation is
not there, though the console claims
org/netbeans/modules/apisupport/lite/resources/TemplateNames.properties
was loaded for some reason. However the dialog clearly displays the
correct English localized names, which must be coming from the bundle.

I think the problem is that the file name is not Bundle.properties, so
according to the rules at

http://www.netbeans.org/devhome/docs/i18n/index.html#2.1.2

every localizable line in TemplateNames.properties must be marked with
#I18N on the preceding line. This is not currently the case, so
NbBundle debug mode correctly shows the problem.

Ales - please add the #I18N markers as requested. Gautham etc. - you
must translate this file, and it will appear localized. Note that it
is correctly listed in apisupport/l10n.list.
Comment 3 Marek Grummich 2002-07-22 08:20:34 UTC
Target milestone was changed from '3.4' to TBD.
Comment 4 akemr 2002-07-22 12:25:43 UTC
Fixed in trunk
Comment 5 Ken Frank 2002-07-22 16:08:04 UTC
Does the fix involve having these 2 words come from bundle
file ? It seems all other labels that appear in 
file->new come from Bundle.properties files (via manifest entries),
so I'm confused why these are in a separate file
not named Bundle.properties

ken.frank@sun.com
Comment 6 Jesse Glick 2002-07-22 18:54:53 UTC
The fix involves adding the two #I18N comments as mentioned previously
to TemplateNames.properties. There is nothing wrong with using a file
with this name; it is there for historical reasons. Localization team
still needs to actually translate these two keys.
Comment 7 mtsuruta 2003-12-01 07:25:49 UTC
Created attachment 12363 [details]
checked New Wizard with pseud localized words(jpg)
Comment 8 mtsuruta 2003-12-01 07:27:44 UTC
Labels of "NetBeans Extensions" and "IDE Plug-in Module" on NBNs351
are pseud localized correctly,  and there are "#I18N" comments added
in TemplateNames.properties files for each labels. Thus, I will change
this status as verified.

Verification method:
1. Installed "Open API Support" with NetBeans Update Center Beta.
2. By pseud localizing script, made XXX_ja.jar files for
apisupport-lite.jar and apisupport.jar files.
3. Put XXX_ja.jar files under "/netbeans/module/locale/", and restart
NBNs351 in ja locale.
4. Checked the appearance of "NetBeans Extensions" and "IDE Plug-in
Module" labels.
Comment 9 Ken Frank 2003-12-01 23:20:55 UTC
I don't see the appisupport or .lite.jar files in current
s1s nevada or in latest netbeans (with new winsys) - are they
now just from update center or are they not meant to used
with cdp/netbeans going forward ? (they used to be in actual nb/s1s)

ken.frank@sun.com
12/01/2003
Comment 10 mtsuruta 2003-12-02 02:43:57 UTC
They are just from update center for nb351/s1s.
I do not see labels of "NetBeans Extensions" and "IDE Plug-in Module"
in current ide and nb either, so I presume those nodes does not exist
in actual nb without updating nowadays.
Please install "Open API Support" from NetBeans Update Center Beta
using update center to get those jar files.
Comment 11 Jesse Glick 2003-12-02 13:53:28 UTC
None of the apisupport modules are included in the standard products
distributions as of NB 3.5 / S1S5. They are available from the beta
update center.