Re: gtk+ app don't replace gettext message



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]