68 lines
2.1 KiB
Groff
68 lines
2.1 KiB
Groff
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.24.
|
|
.TH NGETTEXT "1" "April 2005" "GNU gettext-runtime 0.14.3" GNU
|
|
.SH NAME
|
|
ngettext \- translate message and choose plural form
|
|
.SH SYNOPSIS
|
|
.B ngettext
|
|
[\fIOPTION\fR] [\fITEXTDOMAIN\fR] \fIMSGID MSGID-PLURAL COUNT\fR
|
|
.SH DESCRIPTION
|
|
.\" Add any additional description here
|
|
The \fBngettext\fP 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 \fICOUNT\fP
|
|
and the language of the message catalog where the translation was found.
|
|
.PP
|
|
Display native language translation of a textual message whose grammatical
|
|
form depends on a number.
|
|
.TP
|
|
\fB\-d\fR, \fB\-\-domain\fR=\fITEXTDOMAIN\fR
|
|
retrieve translated message from TEXTDOMAIN
|
|
.TP
|
|
\fB\-e\fR
|
|
enable expansion of some escape sequences
|
|
.TP
|
|
\fB\-E\fR
|
|
(ignored for compatibility)
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-help\fR
|
|
display this help and exit
|
|
.TP
|
|
\fB\-V\fR, \fB\-\-version\fR
|
|
display version information and exit
|
|
.TP
|
|
[TEXTDOMAIN]
|
|
retrieve translated message from TEXTDOMAIN
|
|
.TP
|
|
MSGID MSGID-PLURAL
|
|
translate MSGID (singular) / MSGID-PLURAL (plural)
|
|
.TP
|
|
COUNT
|
|
choose singular/plural form based on this value
|
|
.PP
|
|
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: @localedir@
|
|
.SH AUTHOR
|
|
Written by Ulrich Drepper.
|
|
.SH "REPORTING BUGS"
|
|
Report bugs to <bug-gnu-gettext@gnu.org>.
|
|
.SH COPYRIGHT
|
|
Copyright \(co 1995-1997, 2000-2005 Free Software Foundation, Inc.
|
|
.br
|
|
This is free software; see the source for copying conditions. There is NO
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
.SH "SEE ALSO"
|
|
The full documentation for
|
|
.B ngettext
|
|
is maintained as a Texinfo manual. If the
|
|
.B info
|
|
and
|
|
.B ngettext
|
|
programs are properly installed at your site, the command
|
|
.IP
|
|
.B info ngettext
|
|
.PP
|
|
should give you access to the complete manual.
|