Bhaarat Sharma wrote:
I  know we can a property file in struts like this

struts.custom.i18n.resources=nameofFile

But is there a way to use multiple properties files? (nameofFile)

IIRC this is a comma-separated list (see [1] for example); AFAIK you can have as many as you want.

That said, messages can be put in any of the places used for I18N [2]: package.properties, action- or interface-specific property files, and so on: depending on how your application is structured this may be a better way. I prefer this over the previous method, but my apps are usually structured to allow it.

Using a resource file editing tool can also help.

Dave

[1] http://struts.apache.org/2.x/docs/strutsproperties.html
[2] http://struts.apache.org/2.x/docs/localization.html

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

Reply via email to