Re: gtk+ app don't replace gettext message



hi daemon

wow. it's a simple, but fatal, answer.

ok... the testapp works with i18n. my real app doesn't work at the
moment. but sooner or later that will work also.
thank you very much.

greets

Andreas

Am Dienstag, den 08.02.2005, 19:54 +0000 schrieb Damon Chaplin:
> On Tue, 2005-02-08 at 19:23, Andreas Bachmann wrote:
> > hi!
> > 
> > I would like to develope a small gtk+ application, which should have
> > been i18n able.
> > But gettext don't replace the key (msgid) with the value (msgstr).
> > My gettext package and my localdir are set and running.
> > Could you please look at my source and my gnu autotools config?
> > http://bachi.te-clan.ch/testapp.tar.gz
> 
> In src/testapp.c you need to move this line to the top of the file:
> 
>   #include "config.h"
> 
> 
> ENABLE_NLS is defined in "config.h", and must be defined before you
> #include <glib/gi18n.h>, or gettext support is turned off.
> 
> Damon
> 
> 
> 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]