bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: "_(" and "N_(" convenience macros not being recognized


From: David Bruce
Subject: Re: "_(" and "N_(" convenience macros not being recognized
Date: Tue, 9 Jun 2009 20:00:14 -0500

Hi Bruno,

> Most probably the 'xgettext' invocation is lacking the options -k_ and
> -kN_. See the gettext manual [1][2].

Yes, that was exactly the problem - thank you very much!

> If you are using the common po/* infrastructure that 'gettextize' installs,
> the place where you specify the xgettext options is the variable
> XGETTEXT_OPTIONS in po/Makevars.

I take it XGETTEXT_OPTIONS gets set when 'gettextize' is run? For the
correctly-working program (TuxMath), I had run 'gettextize' myself,
but I don't recall doing any explicit setting of this option.  The
program with the problem (Tux Typing) had been 'gettextized' last year
by one of our GSoC students.

Where the gettext manual describes the shorthand method of marking
translatable strings(1), perhaps there should be a sentence stating
that these shorthands depend on XGETTEXT_OPTIONS being set accordingly
(and that 'gettextize' will set these shorthands up by default,
assuming that is really the case).  I would not have figured this out
on my own.

(1)http://www.gnu.org/software/gettext/manual/html_node/Mark-Keywords.html#Mark-Keywords

Again, thank you very much!

David Bruce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]