manpagez: man pages & more
info gettext
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.1 Importing the gettext declaration

Presuming that your set of programs, or package, has been adjusted so all needed GNU gettext files are available, and your ‘Makefile’ files are adjusted (see section The Maintainer’s View), each C module having translated C strings should contain the line:

#include <libintl.h>

Similarly, each C module containing printf()/fprintf()/... calls with a format string that could be a translated C string (even if the C string comes from a different C module) should contain the line:

#include <libintl.h>

This document was generated on June 7, 2014 using texi2html 5.0.

© 2000-2018
Individual documents may contain additional copyright information.