You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Rex Hsu <Re...@foryou.com.tw> on 2003/04/11 11:41:12 UTC

Question about taglibs-i18n

I got the first time to use the i18n taglibs, but I can't success.
The error message is "Can't find bundle for base name myRBTest, locale
zh_TW",

My "test.jsp " is,
----------------------------------------------------------------------------
-------------
<%@page contentType="text/html"%>

<html>
<head><title>TEST Page</title></head>
<body>
<%@taglib uri="/taglibs-i18n" prefix="i18n" %>

<i18n:bundle baseName="myRBTest" id="test">
    <i18n:message key="test.Hello"> Hello </i18n:message>
    <i18n:message key="test.World"/> World </i18n:message>
</i18n:bundle>

</body>
</html>
----------------------------------------------------------------------------
---------------

And my properties files are,
myRBTest.properties
-------------------------------
Hello=Hello
World=World

myRBTest_zh_TW.properties
-------------------------------
Hello=Foo
World=Bar

Anyone can help me ? Thanks in advance.
Rex Hsu



---------------------------------------------------------------------
To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: taglibs-user-help@jakarta.apache.org