name it logo_en.png, logo_es.png, ...
then just set the Session locale after login:

if (loginOk) {
 session.setLocale(user.getLocale())
...
}

see also Session#setStyle().

On Thu, 2010-07-15 at 11:58 +0200, Paul Szulc wrote:
> Can we localize resources in Wicket? I mean imagine I have multiple-language
> application and this application has a logo image. I have pl_logo.ong
> en_logo.png es_logo.png and so on. And now I want to define my image in
> markup once and in controller one, and let wicket to decided which resource
> (which logo) is to be shown (depending on users language). Does wicket
> already has this sort of functionality or do I have to implement it myself?
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to