ok, I had read the documentation that you linked, but until now I had not understood :-)
thanks again, I will try. On 15 Feb, 17:42, Christian Goudreau <goudreau.christ...@gmail.com> wrote: > If you add : > > ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat' > ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator" > ui:generateLocales="default" > > in your .ui.xml file, GWT compiler should create your .propertie file for > your .ui.xml file. Then you only have to copy that file, add your local > _fr_CA, and it should works. > > http://code.google.com/intl/fr/webtoolkit/doc/latest/DevGuideUiBinder... > > Christian > > > > On Mon, Feb 15, 2010 at 11:21 AM, ale <aleee...@gmail.com> wrote: > > > ok, so every ui.xml has a specific message resource file... (or one > > for package...) > > It's ok. and the name? is right 'messages.properties'? > > > thanks again. > > Alessandro > > > On 15 Feb, 16:21, Christian Goudreau <goudreau.christ...@gmail.com> > > wrote: > > > Normally, same directory as you .ui.xml file. > > > > Christian > > > > On Mon, Feb 15, 2010 at 10:17 AM, ale <aleee...@gmail.com> wrote: > > > > ehm, but where should I put the properties file? > > > > under the client folder? > > > > > thanks.. > > > > > On 15 Feb, 13:45, Christian Goudreau <goudreau.christ...@gmail.com> > > > > wrote: > > > > > 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 <aleee...@gmail.com> 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 > > > > google-web-tool...@googlegroups.com. > > > > > > To unsubscribe from this group, send email to > > > > > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > > <google-web-toolkit%2bunsubscr...@googlegroups.com<google-web-toolkit%252bunsubscr...@googlegroups.com> > > > > > <google-web-toolkit%2bunsubscr...@googlegroups.com<google-web-toolkit%252bunsubscr...@googlegroups.com> > > <google-web-toolkit%252bunsubscr...@googlegroups.com<google-web-toolkit%25252bunsubscr...@googlegroups.com> > > > > > > > . > > > > > > 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 > > google-web-tool...@googlegroups.com.> > > To unsubscribe from this group, > send email to > > > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > > <google-web-toolkit%2bunsubscr...@googlegroups.com<google-web-toolkit%252bunsubscr...@googlegroups.com> > > > > > . > > > > 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 > google-web-tool...@googlegroups.com. > > To unsubscribe from this group, send email to > > google-web-toolkit+unsubscr...@googlegroups.com<google-web-toolkit%2bunsubscr...@googlegroups.com> > .> 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 google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.