1<html> 2<head> 3<meta name="generator" content="groff -Thtml, see www.gnu.org"> 4<meta name="Content-Style" content="text/css"> 5<title>NGETTEXT</title> 6</head> 7<body> 8 9<h1 align=center>NGETTEXT</h1> 10<a href="#NAME">NAME</a><br> 11<a href="#SYNOPSIS">SYNOPSIS</a><br> 12<a href="#DESCRIPTION">DESCRIPTION</a><br> 13<a href="#AUTHOR">AUTHOR</a><br> 14<a href="#REPORTING BUGS">REPORTING BUGS</a><br> 15<a href="#COPYRIGHT">COPYRIGHT</a><br> 16<a href="#SEE ALSO">SEE ALSO</a><br> 17 18<hr> 19<!-- Creator : groff version 1.17.2 --> 20<a name="NAME"></a> 21<h2>NAME</h2> 22<table width="100%" border=0 rules="none" frame="void" 23 cols="2" cellspacing="0" cellpadding="0"> 24<tr valign="top" align="left"> 25<td width="10%"></td><td width="90%"> 26ngettext - translate message and choose plural form</td></table> 27<a name="SYNOPSIS"></a> 28<h2>SYNOPSIS</h2> 29 30<table width="100%" border=0 rules="none" frame="void" 31 cols="2" cellspacing="0" cellpadding="0"> 32<tr valign="top" align="left"> 33<td width="10%"></td><td width="90%"> 34<b>ngettext</b> [<i>OPTION</i>] [<i>TEXTDOMAIN</i>] <i>MSGID 35MSGID-PLURAL COUNT</i></td></table> 36<a name="DESCRIPTION"></a> 37<h2>DESCRIPTION</h2> 38 39<table width="100%" border=0 rules="none" frame="void" 40 cols="2" cellspacing="0" cellpadding="0"> 41<tr valign="top" align="left"> 42<td width="10%"></td><td width="90%"> 43The <b>ngettext</b> program translates a natural language 44message into the user's language, by looking up the 45translation in a message catalog, and chooses the 46appropriate plural form, which depends on the number 47<i>COUNT</i> and the language of the message catalog where 48the translation was found.</td></table> 49 50<table width="100%" border=0 rules="none" frame="void" 51 cols="2" cellspacing="0" cellpadding="0"> 52<tr valign="top" align="left"> 53<td width="10%"></td><td width="90%"> 54Display native language translation of a textual message 55whose grammatical form depends on a number.</td></table> 56 57<table width="100%" border=0 rules="none" frame="void" 58 cols="2" cellspacing="0" cellpadding="0"> 59<tr valign="top" align="left"> 60<td width="10%"></td><td width="90%"> 61<b>-d</b>, <b>--domain</b>=<i>TEXTDOMAIN</i></td></table> 62 63<table width="100%" border=0 rules="none" frame="void" 64 cols="2" cellspacing="0" cellpadding="0"> 65<tr valign="top" align="left"> 66<td width="21%"></td><td width="79%"> 67retrieve translated message from TEXTDOMAIN</td></table> 68 69<table width="100%" border=0 rules="none" frame="void" 70 cols="2" cellspacing="0" cellpadding="0"> 71<tr valign="top" align="left"> 72<td width="10%"></td><td width="90%"> 73<b>-e</b></td></table> 74 75<table width="100%" border=0 rules="none" frame="void" 76 cols="2" cellspacing="0" cellpadding="0"> 77<tr valign="top" align="left"> 78<td width="21%"></td><td width="79%"> 79enable expansion of some escape sequences</td></table> 80 81<table width="100%" border=0 rules="none" frame="void" 82 cols="2" cellspacing="0" cellpadding="0"> 83<tr valign="top" align="left"> 84<td width="10%"></td><td width="90%"> 85<b>-E</b></td></table> 86 87<table width="100%" border=0 rules="none" frame="void" 88 cols="2" cellspacing="0" cellpadding="0"> 89<tr valign="top" align="left"> 90<td width="21%"></td><td width="79%"> 91(ignored for compatibility)</td></table> 92 93<table width="100%" border=0 rules="none" frame="void" 94 cols="2" cellspacing="0" cellpadding="0"> 95<tr valign="top" align="left"> 96<td width="10%"></td><td width="90%"> 97<b>-h</b>, <b>--help</b></td></table> 98 99<table width="100%" border=0 rules="none" frame="void" 100 cols="2" cellspacing="0" cellpadding="0"> 101<tr valign="top" align="left"> 102<td width="21%"></td><td width="79%"> 103display this help and exit</td></table> 104 105<table width="100%" border=0 rules="none" frame="void" 106 cols="2" cellspacing="0" cellpadding="0"> 107<tr valign="top" align="left"> 108<td width="10%"></td><td width="90%"> 109<b>-V</b>, <b>--version</b></td></table> 110 111<table width="100%" border=0 rules="none" frame="void" 112 cols="2" cellspacing="0" cellpadding="0"> 113<tr valign="top" align="left"> 114<td width="21%"></td><td width="79%"> 115display version information and exit</td></table> 116 117<table width="100%" border=0 rules="none" frame="void" 118 cols="2" cellspacing="0" cellpadding="0"> 119<tr valign="top" align="left"> 120<td width="10%"></td><td width="90%"> 121[TEXTDOMAIN]</td></table> 122 123<table width="100%" border=0 rules="none" frame="void" 124 cols="2" cellspacing="0" cellpadding="0"> 125<tr valign="top" align="left"> 126<td width="21%"></td><td width="79%"> 127retrieve translated message from TEXTDOMAIN</td></table> 128 129<table width="100%" border=0 rules="none" frame="void" 130 cols="2" cellspacing="0" cellpadding="0"> 131<tr valign="top" align="left"> 132<td width="10%"></td><td width="90%"> 133MSGID MSGID-PLURAL</td></table> 134 135<table width="100%" border=0 rules="none" frame="void" 136 cols="2" cellspacing="0" cellpadding="0"> 137<tr valign="top" align="left"> 138<td width="21%"></td><td width="79%"> 139translate MSGID (singular) / MSGID-PLURAL 140(plural)</td></table> 141 142<table width="100%" border=0 rules="none" frame="void" 143 cols="2" cellspacing="0" cellpadding="0"> 144<tr valign="top" align="left"> 145<td width="10%"></td><td width="90%"> 146COUNT</td></table> 147 148<table width="100%" border=0 rules="none" frame="void" 149 cols="2" cellspacing="0" cellpadding="0"> 150<tr valign="top" align="left"> 151<td width="21%"></td><td width="79%"> 152choose singular/plural form based on this value</td></table> 153 154<table width="100%" border=0 rules="none" frame="void" 155 cols="2" cellspacing="0" cellpadding="0"> 156<tr valign="top" align="left"> 157<td width="10%"></td><td width="90%"> 158If the TEXTDOMAIN parameter is not given, the domain is 159determined from the environment variable TEXTDOMAIN. If the 160message catalog is not found in the regular directory, 161another location can be specified with the environment 162variable TEXTDOMAINDIR. Standard search directory: 163@localedir@</td></table> 164<a name="AUTHOR"></a> 165<h2>AUTHOR</h2> 166 167<table width="100%" border=0 rules="none" frame="void" 168 cols="2" cellspacing="0" cellpadding="0"> 169<tr valign="top" align="left"> 170<td width="10%"></td><td width="90%"> 171Written by Ulrich Drepper.</td></table> 172<a name="REPORTING BUGS"></a> 173<h2>REPORTING BUGS</h2> 174 175<table width="100%" border=0 rules="none" frame="void" 176 cols="2" cellspacing="0" cellpadding="0"> 177<tr valign="top" align="left"> 178<td width="10%"></td><td width="90%"> 179Report bugs to <bug-gnu-gettext@gnu.org>.</td></table> 180<a name="COPYRIGHT"></a> 181<h2>COPYRIGHT</h2> 182 183<table width="100%" border=0 rules="none" frame="void" 184 cols="2" cellspacing="0" cellpadding="0"> 185<tr valign="top" align="left"> 186<td width="10%"></td><td width="90%"> 187Copyright 1995-1997, 2000-2007 Free Software Foundation, 188Inc. License GPLv3+: GNU GPL version 3 or later 189<http://gnu.org/licenses/gpl.html><br> 190This is free software: you are free to change and 191redistribute it. There is NO WARRANTY, to the extent 192permitted by law.</td></table> 193<a name="SEE ALSO"></a> 194<h2>SEE ALSO</h2> 195 196<table width="100%" border=0 rules="none" frame="void" 197 cols="2" cellspacing="0" cellpadding="0"> 198<tr valign="top" align="left"> 199<td width="10%"></td><td width="90%"> 200The full documentation for <b>ngettext</b> is maintained as 201a Texinfo manual. If the <b>info</b> and <b>ngettext</b> 202programs are properly installed at your site, the 203command</td></table> 204 205<table width="100%" border=0 rules="none" frame="void" 206 cols="2" cellspacing="0" cellpadding="0"> 207<tr valign="top" align="left"> 208<td width="21%"></td><td width="79%"> 209<b>info ngettext</b></td></table> 210 211<table width="100%" border=0 rules="none" frame="void" 212 cols="2" cellspacing="0" cellpadding="0"> 213<tr valign="top" align="left"> 214<td width="10%"></td><td width="90%"> 215should give you access to the complete manual.</td></table> 216<hr> 217</body> 218</html> 219