It's supposed to be automatic. You have to specify the locale in your HTML and then, GWT Compiler does the tricks.
For me it always worked fine in Dev, but once I came to publish, my Images didn't change according to my locales... Christian On Sun, Feb 14, 2010 at 7:05 PM, ale <[email protected]> wrote: > Hi, I can't understand how use i18n with gwt 2.0 > I follow the manual and I made ma xml like this: > > <g:HTMLPanel styleName='{style.panel}'> > <g:Anchor ui:field="loginLink"> > <ui:msg description="login">Login</ui:msg> > </g:Anchor> > </g:HTMLPanel> > > than i implements a listbox (like in the example 'showcase') that have > an event that change the locale. > than I wrote 2 files > > messages.properties > messages_fr.properties > > I can't understand how to tell to the xml the name of the properties > file... > (and so the change of the locale has no effect...) > > Thanks. Regards > Ale > > -- > 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.
