Re: i18n language setting

2011-09-24 Thread Carl Ballantyne
I think you can pass request_locale via the URL. So index.action?request_locale=du_NL. I think this will then keep in in the session until you change it. Check out http://struts.apache.org/2.x/docs/faqs.html - localization section. In particular http://struts.apache.org/2.x/docs/how-do-we-change-l

i18n language setting

2011-09-24 Thread Debraj Mallick
hi, i need to set language form action, if i set "struts.locale = du_NL" in struts.properties then dutch will the default language. how can i set language from action, i have tried using session.put("WW_TRANS_I18N_LOCALE", "du_NL"); and locale = new Locale("du"); ActionContext.getContext().setLoc