Bellow syntax does not localize, and there are questions in archives... but no working solutions.

Is there a solution sample that someone has localization working?

.V

<%@ taglib uri="jstl/x"       prefix="x" %>
<%@ taglib uri="jstl/c"       prefix="c" %>
<%@ taglib uri="jstl/fmt"      prefix="fmt" %>
<%@ taglib uri="struts/html"  prefix="html" %>


<p> <a href ='?lang=hr'>Hrvatski</a><br> <a href ='?lang=en'>English</a><br> <p> <fmt:setBundle basename='properties.messages'/>

<c:if test="${param.lang == 'hr'}">
   <fmt:setLocale value = 'hr'  />
</c:if >
<c:if  test="${param.lang == 'en'}">
   <fmt:setLocale value = 'en-US'  />
</c:if>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to