Originariamente inviato da merlo82
Ciao, ho letto la doc,

pero non e che spiaga come(oppure non l ho capito ).
Devi preparare tanti .properties quante solo le lingue che vuoi supportare.

Il file sarà nella forma:
nomefile.properties
o
nomefile_XX.properties

La prima è per il default, la seconda per la lingua XX (codice ISO).

Poi in struts.config metti:

<message-resources parameter="tuo.package.nomefile"/>

senza mettere alcuna estensione o lingua.

C'è l'attributo di sessione con il nome nella costante Globals.LOCALE_KEY. La documentazione dice:

The session attributes key under which the user's selected java.util.Locale is stored, if any. If no such attribute is found, the system default locale will be used when retrieving internationalized messages. If used, this attribute is typically set during user login processing.