%general-entities; ]> Gettext-&gettext-version; Gettext <para>The Gettext package contains utilities for internationalization and localization. These allow programs to be compiled with Native Language Support (NLS), enabling them to output messages in the user's native language.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem><seg>0.5 SBU</seg><seg>55 MB</seg></seglistitem> </segmentedlist> <segmentedlist> <segtitle>Gettext installation depends on</segtitle> <seglistitem><seg>Bash, Binutils, Bison, Coreutils, Diffutils, Gawk, GCC, Glibc, Grep, Make, Sed</seg></seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Gettext Prepare Gettext for compilation: ./configure --prefix=/usr Compile the package: make To test the results, issue: make check. This takes a very long time, around 7 SBUs. Now install the package: make install Contents of Gettext Installed programs Installed libraries autopoint, config.charset, config.rpath, envsubst, gettext, gettextize, hostname, msgattrib, msgcat, msgcmp, msgcomm, msgconv, msgen, msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt, msguniq, ngettext, project-id, team-address, trigger, urlget, user-email and xgettext libasprintf[a,so], libgettextlib[a,so], libgettextpo[a,so] and libgettextsrc[a,so] Short descriptions autopoint autopoint copies standard gettext infrastructure files into a source package. config.charset config.charset outputs a system-dependent table of character encoding aliases. config.rpath config.rpath outputs a system-dependent set of variables, describing how to set the runtime search path of shared libraries in an executable. envsubst envsubst substitutes environment variables in shell format strings. gettext gettext translates a natural language message into the user's language, by looking up the translation in a message catalog. gettextize gettextize copies all standard Gettext files into the given top-level directory of a package, to begin inter-nationalizing it. hostname hostname displays a network hostname in various forms. msgattrib msgattrib filters the messages of a translation catalog according to their attributes and manipulates the attributes. msgcat msgcat concatenates and merges the given .po files. msgcmp msgcmp compares two .po files to check that both contain the same set of msgid strings. msgcomm msgcomm finds the messages that are common to to the given .po files. msgconv msgconv converts a translation catalog to a different character encoding. msgen msgen creates an English translation catalog. msgexec msgexec applies a command to all translations of a translation catalog. msgfilter msgfilter applies a filter to all translations of a translation catalog. msgfmt msgfmt generates a binary message catalog from from a translation catalog. msggrep msggrep extracts all messages of a translation catalog that match a given pattern or belong to some given source files. msginit msginit creates a new .po file, initializing the meta information with values from the user's environment. msgmerge msgmerge combines two raw translations into a single file. msgunfmt msgunfmt decompiles a binary message catalog into raw translation text. msguniq msguniq unifies duplicate translations in a translation catalog. ngettext ngettext displays native language translations of a textual message whose grammatical form depends on a number. xgettext xgettext extracts the translatable message lines from the given source files, to make the first translation template. libasprintf 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. libgettextlib libgettextlib is a private library containing common routines used by the various gettext programs. They're not meant for general use. libgettextpo libgettextpo is used to write specialized programs that process PO files. This library is used when the standard applications shipped with gettext won't suffice (such as msgcomm, msgcmp, msgattrib and msgen). libgettextsrc libgettextsrc is a private library containing common routines used by the various gettext programs. They're not meant for general use.