Re: Internationalization support

2003-06-06 Thread Vic Cekvenich
A good idea is to use JSTL fmt tag.

Set the default in web.xml context parm.

Ex: set locale
a href ='?locale=hr'HR/a
Ex: use locale
   c:when test =  ${parm.locale == hr }' 
fmt:setLocale value = 'hr' scope = 'session' /
   c::when
Zelim Sretno!

btw: my 2nd Struts book will be transalted to Croatian among others, and 
covers localization, etc.

Alen Ribic wrote:

Hi all

What is the best way to handle internationalization in your system when
using Struts framework?
Basically, I would like to use human language specific resource bundles that
would need to be used in session specific manner.
Example:
Croatian user logs on and MyAppResources_hr.properties resource file is used
for her/his duration of session.
English (default) user logs on and MyAppResources.properties  file is used
for her/his duration of session.
Thanks
--Alen
 

--
Vic Cekvenich,
Struts Instructor,
1-800-917-JAVA
Advanced a href =baseBeans.comStruts Training/a and project recovery in North 
East.
Open Source a href =baseBeans.comContent Management/a  basicPortal sofware
Best practicea href =baseBeans.comStruts Support/a v.1.1 helper ScafflodingXPress


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Internationalization support

2003-06-05 Thread Alen Ribic
Hi all

What is the best way to handle internationalization in your system when
using Struts framework?

Basically, I would like to use human language specific resource bundles that
would need to be used in session specific manner.

Example:
Croatian user logs on and MyAppResources_hr.properties resource file is used
for her/his duration of session.
English (default) user logs on and MyAppResources.properties  file is used
for her/his duration of session.

Thanks
--Alen


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]