mirror of
https://github.com/darlinghq/darling-man.git
synced 2024-11-23 12:19:46 +00:00
.. | ||
gencat207fix.sh | ||
gencat.in | ||
inst.sh | ||
Makefile | ||
Makefile.in | ||
mess.bg | ||
mess.bg.codeset | ||
mess.cs | ||
mess.cs.codeset | ||
mess.da | ||
mess.da.codeset | ||
mess.de | ||
mess.de.codeset | ||
mess.el | ||
mess.el.codeset | ||
mess.en | ||
mess.en.codeset | ||
mess.es | ||
mess.es.codeset | ||
mess.fi | ||
mess.fi.codeset | ||
mess.fr | ||
mess.fr.codeset | ||
mess.hr | ||
mess.hr.codeset | ||
mess.it | ||
mess.it.codeset | ||
mess.ja | ||
mess.ja.codeset | ||
mess.ko | ||
mess.ko.codeset | ||
mess.nl | ||
mess.nl.codeset | ||
mess.pl | ||
mess.pl.codeset | ||
mess.pt | ||
mess.pt.codeset | ||
mess.ro | ||
mess.ro.codeset | ||
mess.ru | ||
mess.ru.codeset | ||
mess.sl | ||
mess.sl.codeset | ||
mess.zh_TW.UTF-8 | ||
README |
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 "/usr/lib/locale/%L/%N.cat:/usr/lib/locale/%N/%L" 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 da, then verify that the labels are used correctly by doing ../src/makemsg mess.en x.en.h x.en.c ../src/makemsg mess.da x.da.h x.da.c diff x.en.h x.da.h rm x* The files x.en.h and x.da.h should be identical. Recent gencat wants to know what codeset the messages are in. Please report incorrect codesets to flucifredi@acm.org.