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.com">Struts Training</a> and project recovery in North East. Open Source <a href ="baseBeans.com">Content Management</a> basicPortal sofware Best practice<a href ="baseBeans.com">Struts Support</a> v.1.1 helper ScafflodingXPress
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]