Re: Image localization

2009-04-02 Thread nino martinez wael
Thing is I like your approach more, since you can have all your images in one packages since you specify the the class.. And it should work, cant remember are there a localeAwareResource or something? 2009/4/2 Linda van der Pal : > Thanks, that does indeed work. :) > > Linda. > > nino martinez wae

Re: Image localization

2009-04-02 Thread Linda van der Pal
Thanks, that does indeed work. :) Linda. nino martinez wael wrote: im just doing this : add(new Image("weigth", "WeigthIndex.png")); 2009/4/2 Linda van der Pal : Hi, I've got an image called bookshelf.png with some text in it. I've localized my application and so I created a second image

Re: Image localization

2009-04-02 Thread nino martinez wael
im just doing this : add(new Image("weigth", "WeigthIndex.png")); 2009/4/2 Linda van der Pal : > Hi, > > I've got an image called bookshelf.png with some text in it. I've localized > my application and so I created a second image with the same text in Dutch, > called bookshelf_nl.png. I'm adding

Image localization

2009-04-02 Thread Linda van der Pal
Hi, I've got an image called bookshelf.png with some text in it. I've localized my application and so I created a second image with the same text in Dutch, called bookshelf_nl.png. I'm adding the image to the page with add(new Image("bookshelf", new ResourceReference(HomePage.class, "booksh