Hi,

In my Struts2 application I have the following language files:

default_de.properties
default_fr.properties
default.properties (contains EN)

When I start my application, the application is in French (probably because JVM 
default locale is french). Then I tried to change language by appending 
?request_locale=XX in the URL.

Adding ?request_locale=de works fine. All texts are in German.

Adding ?request_locale=en doesn't work. All texts are in French.

I tried to add
<constant name="struts.locale" value="en" />
to struts.xml but no luck.

How can I tell Struts that the default.properties file is English?

Thanks,

Julien



      

Reply via email to