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

114 lines
3.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of NGETTEXT</TITLE>
</HEAD><BODY>
<H1>NGETTEXT</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>
ngettext - translate message and choose plural form
<A NAME="lbAC">&nbsp;</A>
<H2>SYNOPSIS</H2>
<B>ngettext</B>
[<I>OPTION</I>] [<I>TEXTDOMAIN</I>] <I>MSGID MSGID-PLURAL COUNT</I>
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The <B>ngettext</B> program translates a natural language message into the
user's language, by looking up the translation in a message catalog, and
chooses the appropriate plural form, which depends on the number <I>COUNT</I>
and the language of the message catalog where the translation was found.
<P>
Display native language translation of a textual message whose grammatical
form depends on a number.
<DL COMPACT>
<DT id="1"><B>-d</B>, <B>--domain</B>=<I>TEXTDOMAIN</I><DD>
retrieve translated message 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>-V</B>, <B>--version</B><DD>
display version information and exit
<DT id="6">[TEXTDOMAIN]<DD>
retrieve translated message from TEXTDOMAIN
<DT id="7">MSGID MSGID-PLURAL<DD>
translate MSGID (singular) / MSGID-PLURAL (plural)
<DT id="8">COUNT<DD>
choose singular/plural form based on this value
</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.
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>ngettext</B>
is maintained as a Texinfo manual. If the
<B>info</B>
and
<B>ngettext</B>
programs are properly installed at your site, the command
<DL COMPACT>
<DT id="9"><DD>
<B>info ngettext</B>
</DL>
<P>
should give you access to the complete manual.
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="10"><A HREF="#lbAB">NAME</A><DD>
<DT id="11"><A HREF="#lbAC">SYNOPSIS</A><DD>
<DT id="12"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="13"><A HREF="#lbAE">AUTHOR</A><DD>
<DT id="14"><A HREF="#lbAF">REPORTING BUGS</A><DD>
<DT id="15"><A HREF="#lbAG">COPYRIGHT</A><DD>
<DT id="16"><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:20 GMT, March 31, 2021
</BODY>
</HTML>