hi all,
I'm trying to build a multilingual application with struts.
I have created 4 messages ressources named
AppResources_fr.properties
AppResources_uk.properties
AppResources_de.properties
AppResources.properties
One file per country and the default(AppResources) for unknown user local.
If you use
*_EN.properties
test.string = hello!!
*_FR.properties
test.string = allo!!
rather than lower case will work out the box, no need to specify in
struts-config just in web.xml as you perhaps have done already. The
internationalization is built in.
Try it out by changing your browser
2 matches
Mail list logo