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.
Product Version: NetBeans IDE Dev (Build 200801201200) Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05 System: Windows XP version 5.1 running on x86; MS932; ja_JP (nb) Project encoding: UTF-8 Steps: 1. Create WebApp 2. Open Jsp page in the editor 3. Place somewhere in the code the second pageEncoding tag Warning message appears in red. It is not from pseudo localized bundle file. I'm running in the Japan locale, using a pseudo localized Netbeans with fontsize 16.
Created attachment 55520 [details] image
The non-localized error message comes from JSP parser. I am not sure if we even try to localize the parser errors.
JSP parser is prepared for localization: class org.apache.jasper.compiler.Localizer implements localization support, it uses standard method java.util.ResourceBundle.getBundle(String) to get bundle org.apache.jasper.resources.messages.properties. The simples way how to localize JSP parser would be to insert new localizing bundles into glassfish-jspparser.jar file. Other possibility is to transform somehow English messages into some other localization in org.netbeans.modules.web.jspparser_ext.WebAppParseSupport class (method private static JspParserAPI.ErrorDescriptor constructJakartaErrorDescriptor can be modified), but this would not be an easy task.
Created attachment 55665 [details] another one message
When you run the application in a localized version of GlassFish, does the server show a localized error message, or is it still English? Thanks.
This message was shown without any deployment/running the app. See also issue 126403
This is a duplicate of 126403. At least the same fix should fix it - add ML Glassfish jsp parser.
Downgrading to P3 - same justification as for 126403.
I'll try to look at it.
> This is a duplicate of 126403. At least the same fix should fix it - add ML Glassfish jsp parser. Yes, that's true. So closing as duplicate. *** This issue has been marked as a duplicate of 126403 ***