» Content »pkg://man-1.4i.tar.gz:102406
/ info downloads
The English messages are compiled into man, and are used
when it cannot find a message catalog.
Before printing a message, man does a catopen("man_messages", 0);
which means that it tries to open the file obtained from the environment
variable NLSPATH by substituting "man_messages" for %N, and $LC_MESSAGES
for %L (older implementations use $LANG instead)
When NLSPATH is not set, the value
is used. If no information about the language is available, "C" is used.
Because the catalog routines are not generally available, I have enclosed
a copy of the gencat source.
If you add a new message catalog, say for language dk, then verify that
the labels are used correctly by doing
makemsg mess.en x.en.h x.en.c
makemsg mess.dk x.dk.h x.dk.c
diff x.en.h x.dk.h
The files x.en.h and x.dk.h should be identical.
Results 1 - 1 of 1Search over 15 billion files
© 1997-2017 FileWatcher.com