Ok, If anyone is still struggling with this; I just followed this
trail

http://code.google.com/p/google-web-toolkit/issues/detail?id=4355

basically; add "-soyc" switch when you compile you app; from the above
link:

"When you select the red compile button from the toolbar, you'll get
the GWT Compile dialog.  At the bottom of this dialog there is an
Advanced section.  Expand that and add your parameters to the
"Additional compiler arguments" section."

After doing this; the .properties file was created in the "extras"
directory. From there just move it to the same package where
your .xml.ui resides and rename accordingly.


On Mar 5, 10:13 am, fmk11 <[email protected]> wrote:
> Hi,
>
> I have the same problem; I did not figure out where the generated file
> is located.
> I'm reading about a -aux option to the compiler; but not sure if this
> is required.
>
> Federico.
>
> On Feb 16, 10: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%2Bunsubs
> > > > > > > > >  [email protected]>
>
> > > > <google-web-toolkit%[email protected]<google-web-toolkit%252Bu
> > > >  [email protected]>
>
> > > > > > > <google-web-toolkit%[email protected]<google-web-toolkit%252Bu
> > > > > > >  [email protected]>
>
> > > > <google-web-toolkit%[email protected]<google-web-toolkit%252
> > > >  [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%2Bunsubs
> > > > > > >  [email protected]>
>
> > > > <google-web-toolkit%[email protected]<google-web-toolkit%252Bu
> > > >  [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%2Bunsubs
> > > >  [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