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.
am following the instructions discussed with team as to how the gestures/exception reporting would be translated and localized. see attached zip for more. am simulating real situation here but using own server since dont have access to netbeans.org 1. bundle file has WELCOME_URL=http://devtools.sfbay/teams/DeveloperTools_I18N/gestures/index_ja.html ERROR_URL=http://devtools.sfbay/teams/DeveloperTools_I18N/gestures/error_ja.html 2.zip of the pseudo localized html files are attached; I changed name of files to those with _ja suffix for references/urls to the other html files. A. when exception appears and click on report it, the pseudo localized error window appears, but not the one where you report the problem it does appear when in en locale. B. I dont see exceptions C. please review the html files in attached to make sure all changes are ok and logical.
Created attachment 48611 [details] html filels
with latest build, and closing some meta tags in html files, the report window appears now - however a. the multibyte for the buttons, which comes from html files, shows as ??? even thought the meta charset tag is euc-jp and am on solaris in ja locale in which euc-jp is the default encoding b. the page at statistics.netbeans.org that tells upload of error report fininshed - is in english - its not one of the ones in web docs l10n kit to be translated -- is this page meant to be in english ? seems that if the report exceptions windows are translated that this page shd be also ? c. should there be other messages in the ide or in browser from other of the html files that are to be localzied besides the error and index.html (which i have seen already) ? like the info.html or done.html ? ken.frank@sun.com ken.frank@sun.com
in the index.html file, for the 3 buttons seen at bottom of report window; their labels like Cancel, what is the & for - is it supposed to be for a mnemoic assignment ? But even when having the english word be after the & as in en html file, the mbyte still not show ok; see last comment about that. ken.frank@sun.com
Re.b. the page after submitting a bug will be in English. It is like issuezilla pages on netbeans.org, they are also only in English. You can warn Japanese users about it in info_ja.html... Re.& - it stays for & in bundles - you can delete it if you do not need mnemonic or do "Zrušit (&C)"
currently, besides problems below, clicking on send button, nothing happens. ken.frank@sun.com
moving this to p2 since basically the main and basic functionality will not work for users who use localized release. ken.frank@sun.com
This is the exception I get when parsing error_ja.html. The file must be in XHTML: org.xml.sax.SAXParseException: The element type "META" must be terminated by the matching end-tag "</META>". at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:264) at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:292) at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98) at org.netbeans.modules.uihandler.Installer.parseButtons(Installer.java:470) at org.netbeans.modules.uihandler.Installer$Submit.doShow(Installer.java:770) at org.netbeans.modules.uihandler.Installer.doDisplaySummary(Installer.java:422) at org.netbeans.modules.uihandler.Installer.displaySummary(Installer.java:398) at org.netbeans.modules.uihandler.UIHandler.run(UIHandler.java:122) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
This is the diff I applied to the error_ja.html from the ZIP attachment http://www.netbeans.org/nonav/issues/showattachment.cgi/48611/geshtml.zip and I was able to see the report button as well as submit a report to http://statistics.netbeans.org --- error_ja.orig 2007-10-09 06:49:44.000000000 +0200 +++ error_ja.html 2007-10-09 06:49:44.000000000 +0200 @@ -1,6 +1,6 @@ <HTML> <HEAD> -<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=x-euc-jp"> +<META HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=x-euc-jp"> </META> <title>���ޥ���Report Problem</title> <!-- <link rel="stylesheet" type="text/css" href="http://www.netbeans.org/netbeans.css"/>
all is back to being ok exept for original situation a. below a. the multibyte for the buttons, which comes from html files, shows as ??? even thought the meta charset tag is euc-jp and am on solaris in ja locale in which euc-jp is the default encoding changing meta charset to utf-8 did not help, and since there are 3 ja sub locales, the encoding of the page needs to be in one that will work for all of those. also, does the window asking about username come up each time one wantes to report exception or just once per session or userdir, since when the buttons now have the ??? on labels, I don't get that other window anymore. ken.frank@sun.com thus am reopening this
I have written a test and it used to fail on Solaris, see issue 110760. Today I made it work. Seems to work better with Czech encoding. Please try that with pseudo-Japanese. *** This issue has been marked as a duplicate of 110760 ***
Am reopening this since it does not seem as a duplicate of the other issue mentioned. two things happening 1. the window from error_ja.html that tells you have found a bug the buttons on it do not show correct mbyte 2. pressing send, the other report exceptions window, that asks about username,etc does not appear 3. clicking on the exception window itself - review and report problem - another exception window appears with I don't know if this exception is related to the report exceptions itself or is related to some multibyte in report exceptions translated bundles or html files. it is attached.
Created attachment 51366 [details] file
Imho the latest exception was caused by issue 119653.
Would the fix to the other issue solve the problem mentioned below of: 1. the window from error_ja.html that tells you have found a bug - the buttons on it do not show correct mbyte ? ken.frank@sun.com
119875 looks like a new exception about parsing the xml; not sure if its related to 119653 ? ken.frank@sun.com
reopening - the issue mentioned below was stated as fixed 10/24 but this still happens (both situations mentioned below) on 1026 build. Also, this does not seem a duplicate of the issue mentioned below 110760. ken.frank@sun.com
Ken, what issue is mentioned "bellow"? Can't you open new bug or clearly state what is the problem? I can understand you do not want to repeat yourself, but this issue has history longer than Harry Potter books, and I am no longer able to orient in it. The last exception attached on Sat Oct 20 21:00:48, just cannot happen in current trunk (but it can in beta2): Date: 2007/10/24 10:23:39 Author: jtulach Branch: HEAD Tag: (none) Log: #119653: Ignoring first 1000 of fatal errors - enough for simple unreadable characters, yet fails for fatal errors when the parse cannot more forward Members: uihandlerlib/src/org/netbeans/lib/uihandler/LogRecords.java:1.32->1.33 uihandlerlib/src/org/netbeans/lib/uihandler/MultiPartHandler.java:1.8->1.9 uihandlerlib/src/org/netbeans/lib/uihandler/PasswdEncryption.java:1.2->1.3 uihandlerlib/test/unit/src/org/netbeans/lib/uihandlerserver/LogRecordsTest.java:1.19->1.20
I can open new issue I guess, but let me ask a question - when you are running using pseudo localzied bundle file and the pseudo html files at some web location (whose location is noted at the 2 locations in the bundle file) -- does all of this work for you ? ken.frank@sun.com
verified for 6.0.1 and 6.1; if any changes for 6.5 in all of this, please let me know. ken.frank@sun.com