Hi Zoran,

Thank you for your suggestion but I have finally managed to have eveything 
working with only the trick of adding an empty file for the defaut language.
I also have the language selected according to user browser settings. The only 
issue is that the browser locale is stored in the session so any change to 
browser preferred language will only be taken into account after session 
expiration.
I've opened a bug with a patch: http://jira.opensymphony.com/browse/XW-714

Regards,

Julien




________________________________
De : Zoran Avtarovski <zo...@sparecreative.com>
À : Struts Users Mailing List <user@struts.apache.org>; Julien HENRY 
<henr...@yahoo.fr>
Envoyé le : Dimanche, 16 Août 2009, 12h33mn 25s
Objet : Re: Re : Re : Re : Re : Struts2 + I18N

Hi Julien,

I¹m not sure of it¹s too late for you, but what we did was cheat and added a
simple interceptor to the stack which set the default struts locale to
whatever you need. It was trivial piece of code and then everything worked
as expected.

For what it¹s worth, the I18n and the execandwait areas are the two areas I
find that S2 falls down the most. And what I hate even more is that we have
a new young guy on the team and every time he comes across one of hacks
we¹ve implemented I have to listen to Stripes this, and Stripes that or
Wicket this and Wicket that for the next 2 hours.

Z.



      

Reply via email to