You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vinicius Carvalho <ja...@gmail.com> on 2007/03/14 17:18:46 UTC

fmt:setLocale

Hello there! I'm struggling with this for the last couple of hours,
I'm pretty sure is a dumb thing I forgot.
I'm setting the locale for my JSPs (not using struts yet, this is for
a presentation) and <fmt:setLocale> refuses to override the default
locale.
I'm using jakarta standards 1.1.2 apache 5.5.17 and nothing... The
examples from the standards do work, and mine is just as same as the
ones in the examples...

<fmt:setLocale value="pt"/>

<fmt:setBundle value="messages"/>

<fmt:message>
Hello
</fmt:message>

It keeps printing the one in the messages_en.properties and not the
one at messages_pt.properties.

This simple yet annoying little thing is driving me nuts.

Any ideas?

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