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 52645 - I18N - word Verifier in the tab of the output window and detail messages/descriptions not from bundle file
Summary: I18N - word Verifier in the tab of the output window and detail messages/des...
Status: CLOSED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 8 (show other bugs)
Version: 4.x
Hardware: Sun All
: P2 blocker (vote)
Assignee: _ ludo
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2004-12-19 20:57 UTC by Ken Frank
Modified: 2006-03-24 12:57 UTC (History)
1 user (show)

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 Ken Frank 2004-12-19 20:57:55 UTC
putting in 3 items seen in verifier window here -
let me know if separate issues needed -


1. choose to verify an ejb and in output window
area, verifier tool is running

but the tab on the output window "Verifier"
does not appear to come from bundle file


2. Also, in the detail window, it seems the actual
details are not from bundle file -- words like
Not Applicable

3. Also, the test descriptions not from bundle file

--> if these last 2 items are from another tool
that is not localzied, should our modules
wrap the descriptions and results so that they
can be translated ? We don't translate other
modules not part of our code base.
Comment 1 Pavel Buzek 2005-01-05 03:48:29 UTC
the whole UI comes from app server plugin
Comment 2 _ ludo 2005-01-05 04:39:04 UTC
1/ is fixed.
The text of the output is created by the ap server verifier tool.
So if the user has an installed server with the correct locale, then
we will display this locale.
No need to translate at the ide level.
Comment 3 Ken Frank 2005-01-05 05:17:43 UTC
I think as long as the encoding processing
by the code that gets the word verifier from
AS and displays it in the tab is correct,
this will show properly; I think for user in
ja locale but not in ja locale when installing
it, will see this tab in english.

Below is a related question on module encoding
processing wrt output window and external tools
like AS:

As to the parsing of actual messages in
output window for verifier or other data
that comes from AS or its tools -
does the verifier or other j2ee/ejb modules
handle the encoding and parsing of that data
before its sent to the output window or is that
sent straight from AS to the output window code ?

I ask because in past and again now there were
issues with output window not showing multibyte
correctly because of not handling encoding properly or detecting what
that encoding is.

We have report of log output from ja AS not showing
ok in output window - AS sends data in either
the encoding of the locale AS is run in if not entry in server.xml or
in the
encoding of the locale stated in server.xml

What I don't know is how the output window handles
these things or if data goes to other parts
first, like in this case AS plugin perhaps, before
going to output window. It seems an issue needs
to be filed on this, so thats why I'm asking
these questions.

ken.frank@sun.com
01/04/2004
Comment 4 _ ludo 2005-01-05 05:23:53 UTC
Good questions and we need a test environment to make sure the output
of the verifier (which is an xml file) can correctly emit localized
data if the server is localized and that the plugin can correctly
display these locales. In theory, it should work :-) QE will tell!
Comment 5 Ken Frank 2005-01-05 18:56:36 UTC
as to setting up for testing, I have few more
questions that will let me do that --

- isnt there also messages/labels in verifier
window from our code/bundle files ?
so I think the messages from AS are the actual
results messages put out by their verifier tool ?

- how does your code handle the encoding of the
AS verifier messages sent to it, that then
get shown in output window -- it seems that
output window just shows what it is given,
and depends on encoding handling of module
that uses it to set that up properly

- where are the xml files in AS8 that emit
the verifier messages - I checked lib/verfier/*.xml but didnt see
messages there.


- I'll need to find out if AS8.1 is localized
and if so, is the verifier output part localized

Thanks for your help.

ken.frank@sun.com
01/05/2005
Comment 6 _ ludo 2005-01-05 19:10:23 UTC
the App Server verifier tool within NetBeans is creating an xml file
in the same area as the archive being verified.

I'll forward the question about localization of this xml ouptut file
to the verifier team.
Ludo
Comment 7 Ken Frank 2005-03-13 19:25:06 UTC
verified