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 <[email protected]>:
> 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 <[email protected]>:
>>
>>>
>>> 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,
>>> "bookshelf.png")));
>>>
>>> But despite the fact that the locale is Dutch (the localized text IS
>>> showing
>>> up in Dutch), it is showing me the default English image. Any idea what I
>>> might be doing wrong?
>>>
>>> Regards,
>>> Linda
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [email protected]
>>> For additional commands, e-mail: [email protected]
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>  ------------------------------------------------------------------------
>>
>>
>> No virus found in this incoming message.
>> Checked by AVG - www.avg.com Version: 8.5.285 / Virus Database:
>> 270.11.38/2037 - Release Date: 04/02/09 06:09:00
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to