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 245126 - Service tab label with I18n problems
Summary: Service tab label with I18n problems
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.0
Hardware: PC Windows 8
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2014-06-18 16:17 UTC by daniel.camargo
Modified: 2014-07-19 10:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (332.47 KB, text/plain)
2014-06-18 16:17 UTC, daniel.camargo
Details
screen shot (11.91 KB, image/png)
2014-06-18 16:22 UTC, daniel.camargo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description daniel.camargo 2014-06-18 16:17:45 UTC
Product Version = NetBeans IDE 8.0 (Build 201403101706)
Operating System = Windows 8 version 6.2 running on amd64
Java; VM; Vendor = 1.7.0_55
Runtime = Java HotSpot(TM) 64-Bit Server VM 24.55-b03

I've set the JAVA_TOOL_OPTIONS with the following properties: "-Duser.language=en -Duser.region=US -Dfile.encoding=UTF-8". Doing so, I am able to visualize messages in English which significantly increases my chances of getting help from forums across the internet.

Recently I've found out that one (or at least one) of the labels in the tabs is not being translated to English. The label mentioned here is the on for the Services tab (stills shown as"Serviços" in Portuguese).
Comment 1 daniel.camargo 2014-06-18 16:17:50 UTC
Created attachment 147718 [details]
IDE log
Comment 2 daniel.camargo 2014-06-18 16:22:40 UTC
Created attachment 147719 [details]
screen shot
Comment 3 Antonin Nebuzelsky 2014-07-14 12:56:44 UTC
> I've set the JAVA_TOOL_OPTIONS

Why not use the netbeans option --locale? See "netbeans --help" on your command line.

> Services tab (stills shown as"Serviços"...

Probably a different call is used when resolving the label of the Services tab which does not correctly resolve to English when your startup parameters are used (instead of --locale).

Reassigning to Platform / Explorer for a fix.
Comment 4 Ondrej Vrabec 2014-07-14 13:43:49 UTC
this probably does not belong to explorer. When deserializing a component window system also overwrites the top component's display name, effectively overwriting the localized display name and replacing it with the cached one.

fix: http://hg.netbeans.org/core-main/rev/89c08ece1c7d
Comment 5 Quality Engineering 2014-07-19 10:16:33 UTC
Integrated into 'main-silver', will be available in build *201407190718* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/89c08ece1c7d
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #245126 - Service tab label with I18n problems