%general-entities; ]> Gettext-&gettext-version; Gettext <para>The Gettext package contains utilities for internationalization and localization. These allow programs to be compiled with NLS (Native Language Support), enabling them to output messages in the user's native language.</para> </sect2> <sect2 role="installation"> <title>Installation of Gettext Prepare Gettext for compilation: ./configure --prefix=/usr --host=${CLFS_TARGET} Compile the package: make Install the package: make DESTDIR=${CLFS} install Contents of Gettext Installed programs Installed libraries autopoint, config.charset, config.rpath, envsubst, gettext, gettext.sh, gettextize, hostname, msgattrib, msgcat, msgcmp, msgcomm, msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq, ngettext, and xgettext libasprintf.[a,so], libgettextlib.so, libgettextpo.[a,so], and libgettextsrc.so Short Descriptions autopoint Copies standard Gettext infrastructure files into a source package autopoint config.charset Outputs a system-dependent table of character encoding aliases config.charset config.rpath Outputs a system-dependent set of variables, describing how to set the runtime search path of shared libraries in an executable config.rpath envsubst Substitutes environment variables in shell format strings envsubst gettext Translates a natural language message into the user's language by looking up the translation in a message catalog gettext gettext.sh Primarily serves as a shell function library for gettext gettext.sh gettextize Copies all standard Gettext files into the given top-level directory of a package to begin internationalizing it gettextize hostname Displays a network hostname in various forms hostname msgattrib Filters the messages of a translation catalog according to their attributes and manipulates the attributes msgattrib msgcat Concatenates and merges the given .po files msgcat msgcmp Compares two .po files to check that both contain the same set of msgid strings msgcmp msgcomm Finds the messages that are common to to the given .po files msgcomm msgconv Converts a translation catalog to a different character encoding msgconv msgen Creates an English translation catalog msgen msgexec Applies a command to all translations of a translation catalog msgexec msgfilter Applies a filter to all translations of a translation catalog msgfilter msgfmt Generates a binary message catalog from a translation catalog msgfmt msggrep Extracts all messages of a translation catalog that match a given pattern or belong to some given source files msggrep msginit Creates a new .po file, initializing the meta information with values from the user's environment msginit msgmerge Combines two raw translations into a single file msgmerge msgunfmt Decompiles a binary message catalog into raw translation text msgunfmt msguniq Unifies duplicate translations in a translation catalog msguniq ngettext Displays native language translations of a textual message whose grammatical form depends on a number ngettext xgettext Extracts the translatable message lines from the given source files to make the first translation template xgettext libasprintf defines the autosprintf class, which makes C formatted output routines usable in C++ programs, for use with the <string> strings and the <iostream> streams libasprintf libgettextlib a private library containing common routines used by the various Gettext programs; these are not intended for general use libgettextlib libgettextpo Used to write specialized programs that process .po files; this library is used when the standard applications shipped with Gettext (such as msgcomm, msgcmp, msgattrib, and msgen) will not suffice libgettextpo libgettextsrc A private library containing common routines used by the various Gettext programs; these are not intended for general use libgettextsrc