Penguin
Annotated edit history of ngettext(1) version 1, including all changes. View license author blame.
Rev Author # Line
1 perry 1 NGETTEXT
2 !!!NGETTEXT
3 NAME
4 SYNOPSIS
5 DESCRIPTION
6 AUTHOR
7 REPORTING BUGS
8 COPYRIGHT
9 SEE ALSO
10 ----
11 !!NAME
12
13
14 ngettext - print out string using translation with singular/plural
15 !!SYNOPSIS
16
17
18 __ngettext__ [[''OPTION''] [[''TEXTDOMAIN''] ''MSGID
19 MSGID-PLURAL COUNT''
20 !!DESCRIPTION
21
22
23 The __ngettext__ program prints out a translation. It
24 chooses between the singular and plural forms according to
25 the ''COUNT'' parameter.
26
27
28 __-d__, __--domain__=''TEXTDOMAIN''
29
30
31 retrieve translated message from
32 ''TEXTDOMAIN''
33
34
35 __-e__
36
37
38 enable expansion of some escape sequences
39
40
41 __-E__
42
43
44 (ignored for compatibility)
45
46
47 __-h__, __--help__
48
49
50 display a help message and exit
51
52
53 __-V__, __--version__
54
55
56 display version information and exit
57
58
59 [[''TEXTDOMAIN'']
60
61
62 retrieve translated message from
63 ''TEXTDOMAIN''
64
65
66 ''MSGID MSGID-PLURAL''
67
68
69 translate ''MSGID'' (singular) / ''MSGID-PLURAL''
70 (plural)
71
72
73 ''COUNT''
74
75
76 choose singular/plural form based on this value
77
78
79 If the ''TEXTDOMAIN'' parameter is not given, the domain
80 is determined from the environment variable
81 ''TEXTDOMAIN''. If the message catalog is not found in
82 the regular directory, another location can be specified
83 with the environment variable ''TEXTDOMAINDIR''.
84 Standard search directory: /usr/share/locale
85 !!AUTHOR
86
87
88 Written by Ulrich Drepper.
89 !!REPORTING BUGS
90
91
92 Report bugs to
93 !!COPYRIGHT
94
95
96 Copyright 1995-1997, 2000, 2001 Free Software Foundation,
97 Inc.
98 This is free software; see the source for copying
99 conditions. There is NO warranty; not even for
100 MERCHANTABILITY or FITNESS FOR A PARTICULAR
101 PURPOSE.
102 !!SEE ALSO
103
104
105 The full documentation for __ngettext__ is maintained as
106 a Texinfo manual. If the __info__ and __ngettext__
107 programs are properly installed at your site, the command
108 __info ngettext__ should give you access to the complete
109 manual.
110
111
112 On Debian, the manual is also available in HTML format in
113 the gettext-doc package.
114 ----
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.