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.
A .jsp file uses a tag library jar file. When the .jsp file is compiled, there is a compiler error message "Unable to open taglibrary/ietags.jar" appears in the Compile window. This message should be I18n'd. I'm running Japanese version, build 1068 on Japanese Solaris. Here is the .jsp file: <HTML> <%@taglib uri="/ietags.jar" prefix="f" %> <%@page import="org.netbeans.jsptags.results.BeanVectorResults" %> oops hh <%! Vector v = new Vector(); public class item { public String foo = "foo"; public String getFoo() { return foo; } public void setFoo(String value) { foo = value; } public String bar = "bar"; public String getBar() { return bar; } public void setBar(String value) { bar = value; } public item(String foo, String bar) { this.foo = foo; this.bar = bar; } } public class itemBeanInfo { } %> <% v.addElement(new item("one", "1")); v.addElement(new item("2", "too")); v.addElement(new item("3", "three")); v.addElement(new item("for", "four")); BeanVectorResults vds = new BeanVectorResults(v, item.class); String RESULTS = "BEAN_VECTOR_RESULTS" ; pageContext.setAttribute(RESULTS, vds, PageContext.SESSION_SCOPE); %> <BODY> <%-- <%@ include file="iterator.jsp" %> --%> <% String RESULTS_SCOPE = "session" ; String TYPE = "all" ; String NEXT_ROWS = "4" ; String START_ROW = "0" ; String DIRECTION = "forward" ; %> <H2>Data source test. </H2> <%! public boolean even(int n) { return (n == 2 * (n/2)); } String colorA="#FFFFDD"; String colorB="#DDDDFF"; %> <TABLE border=1> <f:iterator results="<%= RESULTS %>" resultsScope="session" type="<%= TYPE %>" n="<%= NEXT_ROWS %>" start="<%= START_ROW%>" indexVar="i" iterationsVar="it" resultsObjectVar="beancontainer" currentObjectVar="currentobject" direction="<%= DIRECTION %>"> <TR bgcolor="<%= (even(it.intValue())?colorA:colorB) %>" > <TD> index=<%= i %> <P> iterations=<%=it%>: <f:field index="0" /> </TD> <f:fieldIterator results="<%= RESULTS %>" indexVar="fi" iterationsVar = "fit"> <TD> <%=fi%> . <%=fit%> .. <f:field op="name" /> -- <f:field /> | </TD> </f:fieldIterator> </TR> </f:iterator> </TABLE> </BODY> </HTML>
This message is internationalized, see bundle org/apache/jasper/resources/messages.properties, key jsp.error.badtaglib. It is only not localized to Japanese, and will not be, as there are no plans to localize Tomcat server to Japanese.
Consistent use of the I18N keyword.