Unfortunately, no, I didn't try this yet lol I'm still looking for my own answer with Client Bundle and Image Resources :D
Christian On Tue, Feb 16, 2010 at 8:12 AM, ale <[email protected]> wrote: > Hi, > I try to add > > ui:generateFormat='com.google.gwt.i18n.rebind.format.PropertiesFormat' > ui:generateKeys="com.google.gwt.i18n.rebind.keygen.MD5KeyGenerator" > ui:generateLocales="default" > > when I compile I see some log message like "cretate file for i18n ecc. > But when it finish I didn't find the file generated.... > > Have you an example? > > Thansk... > Ale > > On 15 Feb, 18:56, ale <[email protected]> wrote: > > 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 <[email protected]> > > 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 <[email protected]> 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 <[email protected]> > > > > wrote: > > > > > Normally, same directory as you .ui.xml file. > > > > > > > Christian > > > > > > > On Mon, Feb 15, 2010 at 10:17 AM, ale <[email protected]> wrote: > > > > > > ehm, but where should I put the properties file? > > > > > > under the client folder? > > > > > > > > thanks.. > > > > > > > > On 15 Feb, 13:45, Christian Goudreau < > [email protected]> > > > > > > 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 <[email protected]> > wrote: > > > > > > > > Hi, I can't understand how usei18nwith 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]> > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > > > > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > > > > > > > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > > > > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > <google-web-toolkit%[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]> > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > > > > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > <google-web-toolkit%[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]> > <google-web-toolkit%[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.
