man-pages/man1/gettext.1.html
2021-03-31 01:06:50 +01:00

118 lines
3.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of GETTEXT</TITLE>
</HEAD><BODY>
<H1>GETTEXT</H1>
Section: GNU (1)<BR>Updated: June 2016<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
gettext - translate message
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>gettext</B>
[<I>OPTION</I>] [[<I>TEXTDOMAIN</I>] <I>MSGID</I>]
<BR>
<B>gettext</B>
[<I>OPTION</I>] <I>-s </I>[<I>MSGID</I>]...
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The <B>gettext</B> program translates a natural language message into the
user's language, by looking up the translation in a message catalog.
<P>
Display native language translation of a textual message.
<DL COMPACT>
<DT id="1"><B>-d</B>, <B>--domain</B>=<I>TEXTDOMAIN</I><DD>
retrieve translated messages from TEXTDOMAIN
<DT id="2"><B>-e</B><DD>
enable expansion of some escape sequences
<DT id="3"><B>-E</B><DD>
(ignored for compatibility)
<DT id="4"><B>-h</B>, <B>--help</B><DD>
display this help and exit
<DT id="5"><B>-n</B><DD>
suppress trailing newline
<DT id="6"><B>-V</B>, <B>--version</B><DD>
display version information and exit
<DT id="7">[TEXTDOMAIN] MSGID<DD>
retrieve translated message corresponding
to MSGID from TEXTDOMAIN
</DL>
<P>
If the TEXTDOMAIN parameter is not given, the domain is determined from the
environment variable TEXTDOMAIN. If the message catalog is not found in the
regular directory, another location can be specified with the environment
variable TEXTDOMAINDIR.
When used with the <B>-s</B> option the program behaves like the 'echo' command.
But it does not simply copy its arguments to stdout. Instead those messages
found in the selected catalog are translated.
Standard search directory: /usr/share/locale
<A NAME="lbAE">&nbsp;</A>
<H2>AUTHOR</H2>
Written by Ulrich Drepper.
<A NAME="lbAF">&nbsp;</A>
<H2>REPORTING BUGS</H2>
Report bugs to &lt;<A HREF="mailto:bug-gnu-gettext@gnu.org">bug-gnu-gettext@gnu.org</A>&gt;.
<A NAME="lbAG">&nbsp;</A>
<H2>COPYRIGHT</H2>
Copyright &#169; 1995-1997, 2000-2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;<A HREF="http://gnu.org/licenses/gpl.html">http://gnu.org/licenses/gpl.html</A>&gt;
<BR>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
<A NAME="lbAH">&nbsp;</A>
<H2>SEE ALSO</H2>
The full documentation for
<B>gettext</B>
is maintained as a Texinfo manual. If the
<B>info</B>
and
<B>gettext</B>
programs are properly installed at your site, the command
<DL COMPACT>
<DT id="8"><DD>
<B>info gettext</B>
</DL>
<P>
should give you access to the complete manual.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="9"><A HREF="#lbAB">NAME</A><DD>
<DT id="10"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="11"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="12"><A HREF="#lbAE">AUTHOR</A><DD>
<DT id="13"><A HREF="#lbAF">REPORTING BUGS</A><DD>
<DT id="14"><A HREF="#lbAG">COPYRIGHT</A><DD>
<DT id="15"><A HREF="#lbAH">SEE ALSO</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:05:13 GMT, March 31, 2021
</BODY>
</HTML>