Maybe this project can help

http://code.google.com/p/gwt-i18n-server/

It provides a GWTI18N.create which replaces the GWT.create

FooMessages msg = GWTI18N.create(FooMessages.class);
msg.fooBar(...);

Uwe

On Aug 16, 9:18 pm, Casey <j.casey.one...@gmail.com> wrote:
> I figured that I was going to have to write my own parser for the
> properties file but I was hoping that I might have missed a new GWT or
> GAE feature. Thanks for your response and I"ll ask the same question
> in the GWT group.
>
> On Aug 16, 12:42 pm, "Ikai L (Google)" <ika...@google.com> wrote:
>
>
>
> > Since they're just properties files, you should be able to use the same
> > messages as a shared resource in your local project, but I doubt you'd be
> > able to use the same code. Have you also asked this question in the GWT
> > groups?
>
> >http://groups.google.com/group/Google-Web-Toolkit
>
> > On Sun, Aug 15, 2010 at 10:36 PM, Casey <j.casey.one...@gmail.com> wrote:
> > > Does anyone know if with Google App Engine there is an easy way to
> > > reuse your client size localization files (constants and messages)
> > > from GWT? I think in GWT 1.6 or 1.8 you could actually call the same
> > > GWT localization code on the server side that you called on the client
> > > side. I just upgraded from 1.6 to 2.0 and all of a sudden I'm
> > > receiving the following message: ERROR: GWT.create() is only usable in
> > > client code! That makes sense to me but there must be an easy way to
> > > reuse your Constant and Message files on the server. It's been awhile
> > > since I've opened this project but I'm pretty sure that this was
> > > working before. Thanks in advance.
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "Google App Engine for Java" group.
> > > To post to this group, send email to
> > > google-appengine-j...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > google-appengine-java+unsubscr...@googlegroups.com<google-appengine-java%2B
> > >  unsubscr...@googlegroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine-java?hl=en.
>
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Engine
> > Blog:http://googleappengine.blogspot.com
> > Twitter:http://twitter.com/app_engine
> > Reddit:http://www.reddit.com/r/appengine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to