17
28
<a href="#SEE ALSO">SEE ALSO</a><br>
20
34
<a name="NAME"></a>
23
<table width="100%" border=0 rules="none" frame="void"
24
cols="2" cellspacing="0" cellpadding="0">
25
<tr valign="top" align="left">
28
<p>gettext − translate message</p>
38
<p style="margin-left:11%; margin-top: 1em">gettext −
31
42
<a name="SYNOPSIS"></a>
34
<table width="100%" border=0 rules="none" frame="void"
35
cols="2" cellspacing="0" cellpadding="0">
36
<tr valign="top" align="left">
39
<p><b>gettext</b> [<i>OPTION</i>] [[<i>TEXTDOMAIN</i>]
46
<p style="margin-left:11%; margin-top: 1em"><b>gettext</b>
47
[<i>OPTION</i>] [[<i>TEXTDOMAIN</i>] <i>MSGID</i>] <b><br>
41
48
gettext</b> [<i>OPTION</i>] <i>-s</i> [<i>MSGID</i>]...</p>
44
51
<a name="DESCRIPTION"></a>
47
<table width="100%" border=0 rules="none" frame="void"
48
cols="2" cellspacing="0" cellpadding="0">
49
<tr valign="top" align="left">
52
<p>The <b>gettext</b> program translates a natural language
53
message into the user’s language, by looking up the
55
<p style="margin-left:11%; margin-top: 1em">The
56
<b>gettext</b> program translates a natural language message
57
into the user’s language, by looking up the
54
58
translation in a message catalog.</p>
56
<p>Display native language translation of a textual
61
<table width="100%" border=0 rules="none" frame="void"
62
cols="2" cellspacing="0" cellpadding="0">
63
<tr valign="top" align="left">
67
<b>−−domain</b>=<i>TEXTDOMAIN</i></p></td>
70
<table width="100%" border=0 rules="none" frame="void"
71
cols="2" cellspacing="0" cellpadding="0">
72
<tr valign="top" align="left">
75
<p>retrieve translated messages from TEXTDOMAIN</p>
79
<table width="100%" border=0 rules="none" frame="void"
80
cols="5" cellspacing="0" cellpadding="0">
81
<tr valign="top" align="left">
85
<p><b>−e</b></p>
90
<p>enable expansion of some escape sequences</p>
94
<tr valign="top" align="left">
98
<p><b>−E</b></p>
100
<td width="13%"></td>
103
<p>(ignored for compatibility)</p>
109
<table width="100%" border=0 rules="none" frame="void"
110
cols="2" cellspacing="0" cellpadding="0">
111
<tr valign="top" align="left">
112
<td width="10%"></td>
114
<p><b>−h</b>, <b>−−help</b></p></td>
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="21%"></td>
122
<p>display this help and exit</p>
126
<table width="100%" border=0 rules="none" frame="void"
127
cols="5" cellspacing="0" cellpadding="0">
128
<tr valign="top" align="left">
129
<td width="11%"></td>
132
<p><b>−n</b></p>
134
<td width="13%"></td>
137
<p>suppress trailing newline</p>
143
<table width="100%" border=0 rules="none" frame="void"
144
cols="2" cellspacing="0" cellpadding="0">
145
<tr valign="top" align="left">
146
<td width="10%"></td>
148
<p><b>−V</b>, <b>−−version</b></p></td>
151
<table width="100%" border=0 rules="none" frame="void"
152
cols="2" cellspacing="0" cellpadding="0">
153
<tr valign="top" align="left">
154
<td width="21%"></td>
156
<p>display version information and exit</p>
160
<table width="100%" border=0 rules="none" frame="void"
161
cols="2" cellspacing="0" cellpadding="0">
162
<tr valign="top" align="left">
163
<td width="10%"></td>
165
<p>[TEXTDOMAIN] MSGID</p></td>
168
<table width="100%" border=0 rules="none" frame="void"
169
cols="2" cellspacing="0" cellpadding="0">
170
<tr valign="top" align="left">
171
<td width="21%"></td>
173
<p>retrieve translated message corresponding to MSGID from
178
<table width="100%" border=0 rules="none" frame="void"
179
cols="2" cellspacing="0" cellpadding="0">
180
<tr valign="top" align="left">
181
<td width="10%"></td>
183
<p>If the TEXTDOMAIN parameter is not given, the domain is
184
determined from the environment variable TEXTDOMAIN. If the
185
message catalog is not found in the regular directory,
186
another location can be specified with the environment
187
variable TEXTDOMAINDIR. When used with the <b>−s</b>
188
option the program behaves like the ‘echo’
189
command. But it does not simply copy its arguments to
190
stdout. Instead those messages found in the selected catalog
191
are translated. Standard search directory: @localedir@</p>
60
<p style="margin-left:11%; margin-top: 1em">Display native
61
language translation of a textual message. <b><br>
63
<b>−−domain</b>=<i>TEXTDOMAIN</i></p>
65
<p style="margin-left:22%;">retrieve translated messages
68
<table width="100%" border="0" rules="none" frame="void"
69
cellspacing="0" cellpadding="0">
70
<tr valign="top" align="left">
75
<p><b>−e</b></p></td>
80
<p>enable expansion of some escape sequences</p></td>
83
<tr valign="top" align="left">
88
<p><b>−E</b></p></td>
93
<p>(ignored for compatibility)</p></td>
98
<p style="margin-left:11%;"><b>−h</b>,
99
<b>−−help</b></p>
101
<p style="margin-left:22%;">display this help and exit</p>
103
<table width="100%" border="0" rules="none" frame="void"
104
cellspacing="0" cellpadding="0">
105
<tr valign="top" align="left">
106
<td width="11%"></td>
110
<p><b>−n</b></p></td>
115
<p>suppress trailing newline</p></td>
120
<p style="margin-left:11%;"><b>−V</b>,
121
<b>−−version</b></p>
123
<p style="margin-left:22%;">display version information and
126
<p style="margin-left:11%;">[TEXTDOMAIN] MSGID</p>
128
<p style="margin-left:22%;">retrieve translated message
129
corresponding to MSGID from TEXTDOMAIN</p>
131
<p style="margin-left:11%; margin-top: 1em">If the
132
TEXTDOMAIN parameter is not given, the domain is determined
133
from the environment variable TEXTDOMAIN. If the message
134
catalog is not found in the regular directory, another
135
location can be specified with the environment variable
136
TEXTDOMAINDIR. When used with the <b>−s</b> option the
137
program behaves like the ’echo’ command. But it
138
does not simply copy its arguments to stdout. Instead those
139
messages found in the selected catalog are translated.
140
Standard search directory: @localedir@</p>
194
143
<a name="AUTHOR"></a>
197
<table width="100%" border=0 rules="none" frame="void"
198
cols="2" cellspacing="0" cellpadding="0">
199
<tr valign="top" align="left">
200
<td width="10%"></td>
202
<p>Written by Ulrich Drepper.</p>
147
<p style="margin-left:11%; margin-top: 1em">Written by
205
151
<a name="REPORTING BUGS"></a>
206
<h2>REPORTING BUGS</h2>
208
<table width="100%" border=0 rules="none" frame="void"
209
cols="2" cellspacing="0" cellpadding="0">
210
<tr valign="top" align="left">
211
<td width="10%"></td>
213
<p>Report bugs to <bug-gnu-gettext@gnu.org>.</p>
155
<p style="margin-left:11%; margin-top: 1em">Report bugs to
156
<bug-gnu-gettext@gnu.org>.</p>
216
159
<a name="COPYRIGHT"></a>
219
<table width="100%" border=0 rules="none" frame="void"
220
cols="2" cellspacing="0" cellpadding="0">
221
<tr valign="top" align="left">
222
<td width="10%"></td>
224
<p>Copyright © 1995-1997, 2000-2007 Free Software
225
Foundation, Inc. License GPLv3+: GNU GPL version 3 or later
226
<http://gnu.org/licenses/gpl.html><br>
163
<p style="margin-left:11%; margin-top: 1em">Copyright
164
© 1995-1997, 2000-2007 Free Software Foundation, Inc.
165
License GPLv3+: GNU GPL version 3 or later
166
<http://gnu.org/licenses/gpl.html> <br>
227
167
This is free software: you are free to change and
228
168
redistribute it. There is NO WARRANTY, to the extent
229
169
permitted by law.</p>
232
172
<a name="SEE ALSO"></a>
235
<table width="100%" border=0 rules="none" frame="void"
236
cols="2" cellspacing="0" cellpadding="0">
237
<tr valign="top" align="left">
238
<td width="10%"></td>
240
<p>The full documentation for <b>gettext</b> is maintained
241
as a Texinfo manual. If the <b>info</b> and <b>gettext</b>
242
programs are properly installed at your site, the
247
<table width="100%" border=0 rules="none" frame="void"
248
cols="2" cellspacing="0" cellpadding="0">
249
<tr valign="top" align="left">
250
<td width="20%"></td>
252
<p><b>info gettext</b></p>
256
<table width="100%" border=0 rules="none" frame="void"
257
cols="2" cellspacing="0" cellpadding="0">
258
<tr valign="top" align="left">
259
<td width="10%"></td>
261
<p>should give you access to the complete manual.</p>
176
<p style="margin-left:11%; margin-top: 1em">The full
177
documentation for <b>gettext</b> is maintained as a Texinfo
178
manual. If the <b>info</b> and <b>gettext</b> programs are
179
properly installed at your site, the command</p>
181
<p style="margin-left:22%; margin-top: 1em"><b>info
184
<p style="margin-left:11%; margin-top: 1em">should give you
185
access to the complete manual.</p>