Re: server side internationalization

2010-03-10 Thread mmoossen
that looks really great. thanks for sharing Michael On Mar 10, 7:32 am, Sebastien chassa...@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

Re: server side internationalization

2010-03-09 Thread Sebastien
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 lucasdeolive...@gmail.com wrote: Hi all, sorry to bring back the post but I'm

Re: server side internationalization

2010-02-08 Thread Lucas de Oliveira
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() {

Re: server side internationalization

2009-10-06 Thread Jerome Cance
Thans a lot for all your replies. It does not run for me because my property files are not copied in the target directory so your solutions do not find my property file. I don't understand how I can force the copy of property files in target directory. I'm using maven/spring/hibernate/gwt and

server side internationalization

2009-10-05 Thread Jerome C.
Hello, I need to use internationalization files on server side (send email, and email content is internationalized). When I use GWT.create on my server side, it does not run (exception). Is there a solution to do that ? I use Spring on my server side, so if there is a solution to use gwt l18n

Re: server side internationalization

2009-10-05 Thread Lothar Kimmeringer
Jerome C. schrieb: I need to use internationalization files on server side (send email, and email content is internationalized). When I use GWT.create on my server side, it does not run (exception). [...] If I can, I don't want to use two different mechanisms for client and server

Re: server side internationalization

2009-10-05 Thread Jerome Cance
Thank you for this response, I was thinking of a solution like this but what I don't like in this solution is the use of a constant for server side ressource bundle. If I can, I want to use a function to refer to an internationalized string. In summary: I want to do on my server side:

Re: server side internationalization

2009-10-05 Thread Lothar Kimmeringer
Hello Jerome, Jerome Cance schrieb: Thank you for this response, I was thinking of a solution like this but what I don't like in this solution is the use of a constant for server side ressource bundle. If I can, I want to use a function to refer to an internationalized string. Check out

Re: server side internationalization

2009-10-05 Thread bufferings
Hi Jerome I want to do on my server side: myConstants.myMessage(); I also thought about the same thing with you, and I created that with javassist. [Kotori I18N Project] http://code.google.com/p/kotori/wiki/KotoriI18N?wl=en I think a part of the project is useful to you. If you try using the

Re: server side internationalization

2009-10-05 Thread Jerome Cance
Wooah, that's exactly what I need and it runs perfectly ! Thanks a lot ! I think this kind of feature should be available directly in the GWT project. Bufferings, when I look at your site, the procedure to make it work seems to be more complex. Why ? I don't add the super-source tag and it

Re: server side internationalization

2009-10-05 Thread bufferings
that's exactly what I need and it runs perfectly ! Thanks a lot ! Glad to hear that. Bufferings, when I look at your site, the procedure to make it work seems to be more complex. Why ? From my site's [How Does It Work?]== Kotori I18N uses the super-source trick. It gives the super-source

Re: server side internationalization

2009-10-05 Thread bufferings
hi I'm very sorry. I made a mistake in my writing. (2) Use KtrI18NCreator.create() in your server side code Please use KtrI18N.createConstants() or KtrI18N.createMessages(). These are static methods. -- bufferings 2009/10/6 bufferings bufferi...@gmail.com: that's exactly what I need and

Re: server side internationalization

2009-10-05 Thread Sebastien
Hu, One year ago I write a simple support of I18N on server side. The mechanism was based on Java reflexion. All is in a single class: http://code.google.com/p/gwt-fusionchart/source/browse/trunk/fusionchart_server/src/com/raisepartner/chartfusion/web/server/gwti18n/GWTI18N.java The simple call