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">
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 }
15 <title>GETTEXT</title>
20 <h1 align="center">GETTEXT</h1>
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>
38 <p style="margin-left:11%; margin-top: 1em">gettext −
42 <a name="SYNOPSIS"></a>
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>
51 <a name="DESCRIPTION"></a>
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
58 translation in a message catalog.</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>
143 <a name="AUTHOR"></a>
147 <p style="margin-left:11%; margin-top: 1em">Written by
151 <a name="REPORTING BUGS"></a>
155 <p style="margin-left:11%; margin-top: 1em">Report bugs to
156 <bug-gnu-gettext@gnu.org>.</p>
159 <a name="COPYRIGHT"></a>
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>
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>
172 <a name="SEE ALSO"></a>
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>