Web dev and programming discussions forums
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account
List archives

Re: server side internationalization

Who uploads GWT to Maven
(21 lines)
Understanding RequestBilder und SOP Problem
(27 lines)
Mar 10, 2010
Mmoossen
Mmoossen
that looks really great.
thanks for sharing

Michael

On Mar 10, 7:32 am, Sebastien <chas### @gmail.com> wrote:
 Hi
 I extracted the code to a dedicated
project:http://code.google.com/p/gwt-i18n-server/

 Now It supports Constants, ConstantsWithLookup, Messages (plural
 included).

 Regards,
 Seb

 On 8 fév, 13:42, Lucas de Oliveira <lucasde### @gmail.com>
wrote:

 > Hi all,
 > sorry to bring back the post but I'm having problems while
trying to use
 > KtrI18N.
 > The thing is that I have an Enum class that shouldn't know if
the code is
 > running on the client or server side. A little code:

 > public enum Status{
 >  OPEN {
 >         @Override
 >         public String getI18N() {
 >             return labels.statusOpen();
 >         }
 >  },
 >  CLOSED {

 >         @Override
 >         public String getI18N() {
 >             return labels.statusClosed();
 >         }

 > }

 >  Labels labels = KtrI18N.createConstants(Labels.class);
 >  public abstract String i18n();

 > }

 > So this code should run both in client and server. The problem
is: it
 > doesn't work at the client side. I checked the KtrI18N website
and there is
 > an eclipse plugin to create the supersource trick for you, but I
couldn't
 > make it work. Any ideas?

 > thanks in advance,
 > cheers!

 > --
 > Lucas de Oliveira Arantes





Reply
Tags: public, code
Messages in this thread
reply Re: server side internationalization
(41 lines) Feb 8, 2010 06:44
reply Re: server side internationalization
(59 lines) Mar 10, 2010 00:33
Re: server side internationalization