1 <!-- Creator : groff version 1.22.3 -->
2 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3 "http://www.w3.org/TR/html4/loose.dtd">
6 <meta name="generator" content="groff -Thtml, see www.gnu.org">
7 <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
8 <meta name="Content-Style" content="text/css">
9 <style type="text/css">
10 p { margin-top: 0; margin-bottom: 0; vertical-align: top }
11 pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
12 table { margin-top: 0; margin-bottom: 0; vertical-align: top }
13 h1 { text-align: center }
15 <title>NGETTEXT</title>
20 <h1 align="center">NGETTEXT</h1>
22 <a href="#NAME">NAME</a><br>
23 <a href="#SYNOPSIS">SYNOPSIS</a><br>
24 <a href="#DESCRIPTION">DESCRIPTION</a><br>
25 <a href="#AUTHOR">AUTHOR</a><br>
26 <a href="#REPORTING BUGS">REPORTING BUGS</a><br>
27 <a href="#COPYRIGHT">COPYRIGHT</a><br>
28 <a href="#SEE ALSO">SEE ALSO</a><br>
38 <p style="margin-left:11%; margin-top: 1em">ngettext
39 − translate message and choose plural form</p>
42 <a name="SYNOPSIS"></a>
47 <p style="margin-left:11%; margin-top: 1em"><b>ngettext</b>
48 [<i>OPTION</i>] [<i>TEXTDOMAIN</i>] <i>MSGID MSGID-PLURAL
52 <a name="DESCRIPTION"></a>
56 <p style="margin-left:11%; margin-top: 1em">The
57 <b>ngettext</b> program translates a natural language
58 message into the user’s language, by looking up the
59 translation in a message catalog, and chooses the
60 appropriate plural form, which depends on the number
61 <i>COUNT</i> and the language of the message catalog where
62 the translation was found.</p>
64 <p style="margin-left:11%; margin-top: 1em">Display native
65 language translation of a textual message whose grammatical
66 form depends on a number. <b><br>
68 <b>−−domain</b>=<i>TEXTDOMAIN</i></p>
70 <p style="margin-left:22%;">retrieve translated message
73 <table width="100%" border="0" rules="none" frame="void"
74 cellspacing="0" cellpadding="0">
75 <tr valign="top" align="left">
80 <p><b>−e</b></p></td>
85 <p>enable expansion of some escape sequences</p></td>
88 <tr valign="top" align="left">
93 <p><b>−E</b></p></td>
98 <p>(ignored for compatibility)</p></td>
103 <p style="margin-left:11%;"><b>−h</b>,
104 <b>−−help</b></p>
106 <p style="margin-left:22%;">display this help and exit</p>
108 <p style="margin-left:11%;"><b>−V</b>,
109 <b>−−version</b></p>
111 <p style="margin-left:22%;">display version information and
114 <p style="margin-left:11%;">[TEXTDOMAIN]</p>
116 <p style="margin-left:22%;">retrieve translated message
119 <p style="margin-left:11%;">MSGID MSGID-PLURAL</p>
121 <p style="margin-left:22%;">translate MSGID (singular) /
122 MSGID-PLURAL (plural)</p>
124 <table width="100%" border="0" rules="none" frame="void"
125 cellspacing="0" cellpadding="0">
126 <tr valign="top" align="left">
127 <td width="11%"></td>
136 <p>choose singular/plural form based on this value</p></td>
141 <p style="margin-left:11%; margin-top: 1em">If the
142 TEXTDOMAIN parameter is not given, the domain is determined
143 from the environment variable TEXTDOMAIN. If the message
144 catalog is not found in the regular directory, another
145 location can be specified with the environment variable
146 TEXTDOMAINDIR. Standard search directory: @localedir@</p>
149 <a name="AUTHOR"></a>
153 <p style="margin-left:11%; margin-top: 1em">Written by
157 <a name="REPORTING BUGS"></a>
161 <p style="margin-left:11%; margin-top: 1em">Report bugs to
162 <bug-gnu-gettext@gnu.org>.</p>
165 <a name="COPYRIGHT"></a>
169 <p style="margin-left:11%; margin-top: 1em">Copyright
170 © 1995-1997, 2000-2007 Free Software Foundation, Inc.
171 License GPLv3+: GNU GPL version 3 or later
172 <http://gnu.org/licenses/gpl.html> <br>
173 This is free software: you are free to change and
174 redistribute it. There is NO WARRANTY, to the extent
175 permitted by law.</p>
178 <a name="SEE ALSO"></a>
182 <p style="margin-left:11%; margin-top: 1em">The full
183 documentation for <b>ngettext</b> is maintained as a Texinfo
184 manual. If the <b>info</b> and <b>ngettext</b> programs are
185 properly installed at your site, the command</p>
187 <p style="margin-left:22%; margin-top: 1em"><b>info
190 <p style="margin-left:11%; margin-top: 1em">should give you
191 access to the complete manual.</p>