Re: gtk+ app don't replace gettext message
- From: Andreas Bachmann <bachi te-clan ch>
- To: Andreas Bachmann <bachi te-clan ch>
- Cc: gtk-i18n-list gnome org
- Subject: Re: gtk+ app don't replace gettext message
- Date: Tue, 08 Feb 2005 23:04:07 +0100
my real app work too.
i get an answer on the irc...
my menu is realized with gtkuimanager and gtkactiongroup.
the solution was to call
gtk_action_group_set_translation_domain(action_group, NULL);
greets
Andreas
Am Dienstag, den 08.02.2005, 22:41 +0100 schrieb Andreas Bachmann:
> 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
> >
> >
> >
>
> _______________________________________________
> gtk-i18n-list mailing list
> gtk-i18n-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]