Imported Upstream version 0.19.7
[platform/upstream/gettext.git] / gettext-runtime / man / gettext.1.html.in
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">
4 <html>
5 <head>
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 }
14 </style>
15 <title>GETTEXT</title>
16
17 </head>
18 <body>
19
20 <h1 align="center">GETTEXT</h1>
21
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>
29
30 <hr>
31
32
33 <h2>NAME
34 <a name="NAME"></a>
35 </h2>
36
37
38 <p style="margin-left:11%; margin-top: 1em">gettext &minus;
39 translate message</p>
40
41 <h2>SYNOPSIS
42 <a name="SYNOPSIS"></a>
43 </h2>
44
45
46 <p style="margin-left:11%; margin-top: 1em"><b>gettext</b>
47 [<i>OPTION</i>] [[<i>TEXTDOMAIN</i>] <i>MSGID</i>] <b><br>
48 gettext</b> [<i>OPTION</i>] <i>-s</i> [<i>MSGID</i>]...</p>
49
50 <h2>DESCRIPTION
51 <a name="DESCRIPTION"></a>
52 </h2>
53
54
55 <p style="margin-left:11%; margin-top: 1em">The
56 <b>gettext</b> program translates a natural language message
57 into the user&rsquo;s language, by looking up the
58 translation in a message catalog.</p>
59
60 <p style="margin-left:11%; margin-top: 1em">Display native
61 language translation of a textual message. <b><br>
62 &minus;d</b>,
63 <b>&minus;&minus;domain</b>=<i>TEXTDOMAIN</i></p>
64
65 <p style="margin-left:22%;">retrieve translated messages
66 from TEXTDOMAIN</p>
67
68 <table width="100%" border="0" rules="none" frame="void"
69        cellspacing="0" cellpadding="0">
70 <tr valign="top" align="left">
71 <td width="11%"></td>
72 <td width="3%">
73
74
75 <p><b>&minus;e</b></p></td>
76 <td width="8%"></td>
77 <td width="63%">
78
79
80 <p>enable expansion of some escape sequences</p></td>
81 <td width="15%">
82 </td></tr>
83 <tr valign="top" align="left">
84 <td width="11%"></td>
85 <td width="3%">
86
87
88 <p><b>&minus;E</b></p></td>
89 <td width="8%"></td>
90 <td width="63%">
91
92
93 <p>(ignored for compatibility)</p></td>
94 <td width="15%">
95 </td></tr>
96 </table>
97
98 <p style="margin-left:11%;"><b>&minus;h</b>,
99 <b>&minus;&minus;help</b></p>
100
101 <p style="margin-left:22%;">display this help and exit</p>
102
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>
107 <td width="3%">
108
109
110 <p><b>&minus;n</b></p></td>
111 <td width="8%"></td>
112 <td width="38%">
113
114
115 <p>suppress trailing newline</p></td>
116 <td width="40%">
117 </td></tr>
118 </table>
119
120 <p style="margin-left:11%;"><b>&minus;V</b>,
121 <b>&minus;&minus;version</b></p>
122
123 <p style="margin-left:22%;">display version information and
124 exit</p>
125
126 <p style="margin-left:11%;">[TEXTDOMAIN] MSGID</p>
127
128 <p style="margin-left:22%;">retrieve translated message
129 corresponding to MSGID from TEXTDOMAIN</p>
130
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>&minus;s</b> option the
137 program behaves like the &rsquo;echo&rsquo; 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>
141
142 <h2>AUTHOR
143 <a name="AUTHOR"></a>
144 </h2>
145
146
147 <p style="margin-left:11%; margin-top: 1em">Written by
148 Ulrich Drepper.</p>
149
150 <h2>REPORTING BUGS
151 <a name="REPORTING BUGS"></a>
152 </h2>
153
154
155 <p style="margin-left:11%; margin-top: 1em">Report bugs to
156 &lt;bug-gnu-gettext@gnu.org&gt;.</p>
157
158 <h2>COPYRIGHT
159 <a name="COPYRIGHT"></a>
160 </h2>
161
162
163 <p style="margin-left:11%; margin-top: 1em">Copyright
164 &copy; 1995-1997, 2000-2007 Free Software Foundation, Inc.
165 License GPLv3+: GNU GPL version 3 or later
166 &lt;http://gnu.org/licenses/gpl.html&gt; <br>
167 This is free software: you are free to change and
168 redistribute it. There is NO WARRANTY, to the extent
169 permitted by law.</p>
170
171 <h2>SEE ALSO
172 <a name="SEE ALSO"></a>
173 </h2>
174
175
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>
180
181 <p style="margin-left:22%; margin-top: 1em"><b>info
182 gettext</b></p>
183
184 <p style="margin-left:11%; margin-top: 1em">should give you
185 access to the complete manual.</p>
186 <hr>
187 </body>
188 </html>