Hi,

I have a simple question: how do I change the default locale of appfuse with
struts 2? I've tried adding <constant name="struts.locale" value="fi"/> to
struts.xml
and changing fallback locale in web.xml, like this:
<context-param>
        <param-name>javax.servlet.jsp.jstl.fmt.fallbackLocale</param-name>
        <param-value>fi</param-value>
</context-param>

Neither of them does much to change the default locale; adding struts.locale
changes a few localizations. Is there a way that works? I suppose I could
put the  Finnish locale texts into the default ApplicationResources file and
move the English ones to the English file, but I'd like to be able to do
this by configuration..
Changing locale using locale parameter in url works just fine.

Thanks in advance.

Jukka

Reply via email to