Re: pgettext() availability in Debian?
On Sunday 16 March 2008 12:27:50 Pierre Habouzit wrote:
> these come in gettext.h (that is explained in the manual that you
> quote), which is in /usr/share/gettext/gettext.h.
Ah. As far as I can tell, the actual location of gettext.h is not
specified in the manual. A response to my debian-i18n post claimed that
the file should have been at /usr/include/share/gettext/gettext.h and
if it were not, that was a bug in the package.[0]
I guess I should have looked around a bit more myself.
> Though you should
> _not_ use that file directly, but run gettexttize on your project to
> install all the gettext stuff, including gettext.h.
Hmmmm.....but that's all described in a section of the manual that
explains how to maintain your GNU-style package, assuming it uses
autotools (which I'm not) and a whole bunch of other stuff which also
isn't relevant to what I'm working on. So I skipped a fair chunk of it.
My bad.
I just want to use an i18n *library* to help with translations. It seems
gettext() insists on being more than that. (And I still don't
understand /why/ those functions/macros aren't just defined in the
standard gettext.h or libintl.h next to the non-"p" versions.) *sigh*
Anyway, thanks for your help. Got things sorted now.
Adam
[0] http://lists.debian.org/debian-i18n/2008/03/msg00050.html
--
Adam Spragg mailto:adam.spragg@smscard.com
Developer
SMS Card http://www.smscard.com/
It reverses the logical flow of conversation!
> Why?
> > No.
> > > Should I top post?
http://www.google.com/search?q=%22top+posting%22
Reply to: