If you look in ApplicationResources_en.properties, it explains part of
the problem. AFAIK, you need to put the default text in
ApplicationResources.properties, but you could also try moving all the
text in ApplicationResources.properties to
ApplicationResources_en.properties and delete
ApplicationResources.properties.

Matt

On Thu, Jun 26, 2008 at 3:35 AM, Jukka Välimaa <[EMAIL PROTECTED]> wrote:
> 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