I tested with a TextResource...

just a foobar.txt file with some content inside.

Btw, for now I'm using constants to localize images, but without using
Bundles... just renaming the URL

--
Francisco Bischoff
http://www.cirurgiaplastica.pro.br

"O mate está para o gaúcho como o chá para os ingleses, a coca para os
bolivianos, o uísque para os escoceses e o café... para os brasileiros"
-- Eduardo Bueno


On Wed, Mar 17, 2010 at 2:27 PM, Christian Goudreau <
[email protected]> wrote:

> I see, I'm in the same boat, everything else works fine !
>
> What's in your ClientBundle file ? Does it work if we add every permutation
> ? (That is something that I didn't tried yet)
>
> Christian
>
> On Wed, Mar 17, 2010 at 10:16 AM, Francisco Bischoff <
> [email protected]> wrote:
>
>> Hi!
>>
>> I also found a bug issue in GWT project:
>>
>> http://code.google.com/p/google-web-toolkit/issues/detail?id=4418&can=1&q=image%20i18n
>>
>>
>> <http://code.google.com/p/google-web-toolkit/issues/detail?id=4418&can=1&q=image%20i18n>but
>> they closed as "cannot reproduce" ¬¬
>>
>> Maybe we should create another bug report informing that this bug is real
>> and only happens in compiled version and not in Dev Mod...
>>
>> I'm using GWT 2.0.3 and the problem persists...
>>
>> I tried everything in the .gwt.xml file, with default language, without
>> default language, tried to put and remove modules, etc... nothing works...
>>
>> By the other side TextResources and Constants (.properties files) work
>> normally... only ImageResource has this problem...
>>
>> Interesting is that in the compiled folder, one of permutations creates an
>> imagebundle with all images together but only with the default .png files
>> not the localized ones.
>>
>> --
>> Francisco Bischoff
>> http://www.cirurgiaplastica.pro.br
>>
>> "O mate está para o gaúcho como o chá para os ingleses, a coca para os
>> bolivianos, o uísque para os escoceses e o café... para os brasileiros"
>> -- Eduardo Bueno
>>
>>
>> On Wed, Mar 17, 2010 at 12:25 PM, Christian Goudreau <
>> [email protected]> wrote:
>>
>>> No, not yet. For now I'm trying to publish my project on google app and
>>> see if that issue is still there. I'll try also to set a default locale.
>>> Exemple : I have  three image file in fact : default.png, default_en_CA.png
>>> and default_fr_CA.png. I shouldn't have three file, but two ! My default
>>> language will point to default.png.
>>>
>>> As for my client bundle. I only map default.png. Maybe it's the
>>> problem... I actually have NO default language... but it didn't really
>>> explain our problem, it's only a path that I want to explore and see what's
>>> happening.
>>>
>>> Something that is working in dev mode should work in production and this
>>> is a serious issue. When I'll be done with my default language changing and
>>> if it's still don't work, I'll open an issue for that.
>>>
>>> Btw, do you have a default language in cour .xml file ?
>>>
>>> Regards
>>>
>>> Christian
>>>
>>>
>>> On Tue, Mar 16, 2010 at 10:59 PM, Francisco Bischoff <
>>> [email protected]> wrote:
>>>
>>>> Hello!
>>>>
>>>> I just made a project that has the same issue as yours: works in dev
>>>> mode but not after compiled...
>>>>
>>>> I use apache2 server...
>>>>
>>>> Localized strings with .properties files work but localized images
>>>> with imagename_fr.png doesnt... (works only in dev).
>>>>
>>>> Have you got to solve this issue?
>>>>
>>>> Thanks
>>>>
>>>> On 11 fev, 12:24, Christian Goudreau <[email protected]>
>>>> wrote:
>>>> > Still no answers ? I really need that issue to be fixed as my app is
>>>> going
>>>> > live soon. At least, can anyone test ClientBundle ImageResources with
>>>> > locales on a php server and give me some feedback ?
>>>> >
>>>> > Thanks.
>>>> >
>>>> > Christian
>>>> >
>>>> > On Wed, Feb 10, 2010 at 1:20 PM, Christian Goudreau <
>>>> >
>>>> >
>>>> >
>>>> > [email protected]> wrote:
>>>> > > Seems to work in my other project that have tomcat as server... but
>>>> not on
>>>> > > the one that have a php server. Any idea how to fix this ?
>>>> >
>>>> > > Christian
>>>> >
>>>> > > On Tue, Feb 9, 2010 at 9:00 PM, Christian Goudreau <
>>>> > > [email protected]> wrote:
>>>> >
>>>> > >> It seem that only the default value is used.
>>>> >
>>>> > >> I have three files : image.png, image_en_CA.png and
>>>> image_fr_CA.png.
>>>> >
>>>> > >> Everything is working fin in dev mode, but when it come to publish,
>>>> only
>>>> > >> image.png is taken into account.
>>>> >
>>>> > >> Maybe it's because I have PHP server side ?
>>>> >
>>>> > >> Can anyone help me ?
>>>> >
>>>> > >> Christian
>>>> >
>>>> > >> On Tue, Feb 9, 2010 at 8:02 PM, Christian Goudreau <
>>>> > >> [email protected]> wrote:
>>>> >
>>>> > >>> It doesn't work after build ! My images are a mess and I can't
>>>> even
>>>> > >>> change de locale, what am I missing ?
>>>> >
>>>> > >>> Christian
>>>> >
>>>> > >>> On Mon, Feb 8, 2010 at 4:24 PM, Christian Goudreau <
>>>> > >>> [email protected]> wrote:
>>>> >
>>>> > >>>> Ok... it's working in dev mode, I don't know why it didnt when
>>>> going
>>>> > >>>> live, I'll do some more test and come back later
>>>> >
>>>> > >>>> On Mon, Feb 8, 2010 at 12:02 PM, Christian Goudreau <
>>>> > >>>> [email protected]> wrote:
>>>> >
>>>> > >>>>> There's an example of what I have :
>>>> >
>>>> > >>>>> Inside the client bundle :
>>>> >
>>>> > >>>>> ImageResource example();
>>>> >
>>>> > >>>>> and in my directory I have : exemple.png
>>>> > >>>>> exemple_fr_CA.png
>>>> > >>>>> exemple_en_CA.png
>>>> >
>>>> > >>>>> and when I set the local to fr_CA, I have exemple.png instead...
>>>> >
>>>> > >>>>> On Sun, Feb 7, 2010 at 10:20 PM, Christian Goudreau <
>>>> > >>>>> [email protected]> wrote:
>>>> >
>>>> > >>>>>> I know how to implements localizable images with Image bundle,
>>>> but how
>>>> > >>>>>> does it works with Client Bundle ? I found nothing about that
>>>> in the
>>>> > >>>>>> documentation and I was wondering what was the best way to
>>>> acheive this with
>>>> > >>>>>> Gwt 2.0.
>>>> >
>>>> > >>>>>> Thx
>>>> >
>>>> > >>>>>> Christian
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Google Web Toolkit" group.
>>>> To post to this group, send email to
>>>> [email protected].
>>>> To unsubscribe from this group, send email to
>>>> [email protected]<google-web-toolkit%[email protected]>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>>
>>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Google Web Toolkit" group.
>>> To post to this group, send email to [email protected]
>>> .
>>> To unsubscribe from this group, send email to
>>> [email protected]<google-web-toolkit%[email protected]>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<google-web-toolkit%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to