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 54513 - I18N - add web service related windows messages/labels not from locale
Summary: I18N - add web service related windows messages/labels not from locale
Status: CLOSED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 4.x
Hardware: Sun SunOS
: P2 blocker (vote)
Assignee: _ ludo
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2005-02-03 19:55 UTC by Ken Frank
Modified: 2006-03-24 12:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
webcvs windows (107.25 KB, image/gif)
2005-02-09 22:09 UTC, Ken Frank
Details
websvc (14.47 KB, image/gif)
2005-02-09 22:29 UTC, Ken Frank
Details
websvc (72.03 KB, image/gif)
2005-02-09 22:32 UTC, Ken Frank
Details
all bundles with number at the end are taken from slovak locale (20.77 KB, image/png)
2005-02-10 12:28 UTC, Martin Grebac
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ken Frank 2005-02-03 19:55:40 UTC
on runtime tab, choose add web service, the 
window that comes up, allowing you to enter
local or remote url, and the proxy setting 
window, do not show their labels or messages
as coming from bundle file, including results
of testing web svc

in runtime, add webservice and create web service
group and the words New Webservice group and
word delete on its menu, dont come from locale file.

I do see some/all of the msgs in the bundle
but just dont see them coming from locale bundle file.



If there are some web svc related msgs/labels
that are not yet in bundle files, can they be put
there ?

And please consult the output of string checking
script for other possible message issues.

Finally, where in nb are some other websvc module
related ui windows and dialogs - I'd like to check
them also about the messages.
Comment 1 Martin Grebac 2005-02-09 13:00:07 UTC
I don't know what's wrong. Which strings exactly did you try to
translate? Which script are you talking about?
Comment 2 Ken Frank 2005-02-09 22:08:46 UTC
I try to translate strings in all product jars so think
I'm doing whatever is in bundles of the web svcs windows
described below.

what is name of the jar file(s) that should have these messages/labels ?
I have translated all Bundle.properties in jar named as *websvc*

attached are gifs - as mentioned below, some labels/msgs in the bundle,
some not, but in any case,when in other locale they dont show.

PS where are and how to use other websvc related ui/wizards/etc?
I'd like to check those also for msgs.

ken.frank@sun.com
Comment 3 Ken Frank 2005-02-09 22:09:15 UTC
Created attachment 20278 [details]
webcvs windows
Comment 4 Ken Frank 2005-02-09 22:24:47 UTC
forgot to mention - the string checking script is an script
from nb src that checks all code for quoted strings that are not
wrapped by nb messaging api or have //NOI18N

results can be further filtered by a dev team since each src
tree might be different and script  is at
http://toolsre.sfbay/Codelines/NetBeans_40/i18ncheck/

but for some of the labels/msgs not seen, i didnt see them
in websvc results - so wonder why and if script needs enhancements.
Comment 5 Ken Frank 2005-02-09 22:29:48 UTC
Created attachment 20279 [details]
websvc
Comment 6 Ken Frank 2005-02-09 22:32:42 UTC
Created attachment 20280 [details]
websvc
Comment 7 Ken Frank 2005-02-09 22:59:45 UTC
also on explorer, after creating web svs or client, words
Web Service References and Web Services
Comment 8 _ pcw 2005-02-10 00:57:12 UTC
I fixed the node name problems (name of web services root node, web
service reference root node).
Comment 9 Martin Grebac 2005-02-10 12:24:46 UTC
I believe there is a problem on your side. I just tried to localize
the 'Add web service' and 'Set proxy' dialogs to slovak language just
by adding some numbers to the actual values and it works perfectly for
me. Whole dialog is localized, see screenshot. 
 There are some strings in the output of the script that should be
localizable, so I'll correct those, but what you mention is not a
problem in our code.

Comment 10 Martin Grebac 2005-02-10 12:28:23 UTC
Created attachment 20292 [details]
all bundles with number at the end are taken from slovak locale
Comment 11 Ken Frank 2005-02-10 14:39:02 UTC
In enterprise1/modules/ext/websvcregistry.jar is websvcregistry.jar
with 7 bundle files, but empty manifest - maybe it needs localizing
bundle and other info ?

in org-netbeans-modules-websvc-registry is only 1 bundle file

-- what jar contains the messages you say come from locale in your env ?

and are you using regular build from smetiste ?

-- for example, some messages in gif you attached come from
websvcregistry.jar so maybe its that the manifest info is not
complete or something related ?

ken.frank@sun.com
Comment 12 Martin Grebac 2005-02-10 16:23:07 UTC
All bundles in the dialog are from websvcregistry.jar, and I use
regular build from smetiste with the slovak bundles added.
Comment 13 _ ludo 2005-02-13 16:57:10 UTC
websvcregistry.jar is loaded by a special classloader.
We need to take care of loading the equivalent
locale/websvcregistry*.jar  in our module installer.
I am doing that now. Will integrated soon.
Comment 14 _ ludo 2005-02-13 21:54:23 UTC
f
Comment 15 Ken Frank 2005-03-12 21:16:41 UTC
verified