Re: Wicket and GNU Gettext

2010-03-17 Thread Ernesto Reinaldo Barreiro
Just one idea:

1-implement your own IStringResourceLoader that reads messages from where
you need
2-register it on Application.init().
e.g. 
getResourceSettings().addStringResourceLoader(GetTextResourceLoader.getInstance());

I see no reason why  wicket:message should not work as expected if you do
the above.

Ernesto

On Wed, Mar 17, 2010 at 6:18 AM, Sigmar Muuga meedi...@gmail.com wrote:

 Hello, just wanted to ask, if anybody has experiences with combining GNU
 Gettext and Wicket?

 Actually I am figuring how to get my project work best with it... what
 should I do r what should I do not
 Is it possible to use it also  with wicket:message?

 Sigmar



Re: Wicket and GNU Gettext

2010-03-17 Thread Sigmar Muuga
Actually I am using .class files as translation resources(gettext-commons
generates them).
I use lib called gettext-commons with ant (
http://code.google.com/p/gettext-commons/).
I translate all translations with poEdit.

Sigmar

On Wed, Mar 17, 2010 at 8:13 AM, Ernesto Reinaldo Barreiro 
reier...@gmail.com wrote:

 Just one idea:

 1-implement your own IStringResourceLoader that reads messages from where
 you need
 2-register it on Application.init().
 e.g.
 getResourceSettings().addStringResourceLoader(GetTextResourceLoader.getInstance());

 I see no reason why  wicket:message should not work as expected if you do
 the above.

 Ernesto

 On Wed, Mar 17, 2010 at 6:18 AM, Sigmar Muuga meedi...@gmail.com wrote:

  Hello, just wanted to ask, if anybody has experiences with combining GNU
  Gettext and Wicket?
 
  Actually I am figuring how to get my project work best with it... what
  should I do r what should I do not
  Is it possible to use it also  with wicket:message?
 
  Sigmar
 



Wicket and GNU Gettext

2010-03-16 Thread Sigmar Muuga
Hello, just wanted to ask, if anybody has experiences with combining GNU
Gettext and Wicket?

Actually I am figuring how to get my project work best with it... what
should I do r what should I do not
Is it possible to use it also  with wicket:message?

Sigmar