struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Refl├ę <>
Subject AW: Internationalized sites with struts
Date Mon, 25 Feb 2002 15:32:25 GMT
If you want to display localized messages you have to create for each
language an
test=Das ist ein Test
test=This is a test

_de here is the locale

Then you can print you text with
<bean:message key="test"/>

Struts then looks into the sesion if there is an Locale Object stored
with key Actions.LOCALE_KEY and takes the correct ressource bundle.

(manually you can get it with

Hope that helps

-----Urspr├╝ngliche Nachricht-----
Von: Juan Alvarado []
Gesendet: Montag, 25. Februar 2002 16:07
An: Struts Users Mailing List
Betreff: Internationalized sites with struts

Hello all:

I am in the process of developing a struts based web site that will need to
have an english and spanish version. Can anyone tell me which are the
features in struts that would allow me to accomplish this. Any sample code
would also be greatly appreciated.

Thanks in advance,

Juan Alvarado
Internet Developer -- Manduca Management
AOL Instant Messenger:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message