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

Re: gettext documentation not accurate for Debian?

Nicolás Lichtmaier wrote:
> > Of course, you have to call xgettext with --keyword=_ otherwise you
> > won't see anything.  Yeah, this documentation rules...
>  Besides you need to add...
>         setlocale (LC_ALL, "");

Why is that needed?

>         bindtextdomain(PACKAGE, LOCALEDIR);
>         textdomain (PACKAGE);


>  ...to your program initialization. Where PACKAGE is your package name (to
> form the file.mo filename) and LOCALEDIR something /usr/loca/share/locale.
>  It's adviseable to use autoconf/automake when using gettext.


I need to turn xfax to use it anyway, looks like I need a mentor.
I found one, though.  Anyway, first I'll add some funktionality.



A mathematician is a machine for converting coffee into theorems.

Reply to: