Imported Upstream version 0.18.1.1
[platform/upstream/gettext.git] / gettext-runtime / man / gettext.1.in
1 .\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.24.
2 .TH GETTEXT "1" "June 2010" "GNU gettext-runtime 0.18.1" GNU
3 .SH NAME
4 gettext \- translate message
5 .SH SYNOPSIS
6 .B gettext
7 [\fIOPTION\fR] [[\fITEXTDOMAIN\fR] \fIMSGID\fR]
8 .br
9 .B gettext
10 [\fIOPTION\fR] \fI-s \fR[\fIMSGID\fR]...
11 .SH DESCRIPTION
12 .\" Add any additional description here
13 The \fBgettext\fP program translates a natural language message into the
14 user's language, by looking up the translation in a message catalog.
15 .PP
16 Display native language translation of a textual message.
17 .TP
18 \fB\-d\fR, \fB\-\-domain\fR=\fITEXTDOMAIN\fR
19 retrieve translated messages from TEXTDOMAIN
20 .TP
21 \fB\-e\fR
22 enable expansion of some escape sequences
23 .TP
24 \fB\-E\fR
25 (ignored for compatibility)
26 .TP
27 \fB\-h\fR, \fB\-\-help\fR
28 display this help and exit
29 .TP
30 \fB\-n\fR
31 suppress trailing newline
32 .TP
33 \fB\-V\fR, \fB\-\-version\fR
34 display version information and exit
35 .TP
36 [TEXTDOMAIN] MSGID
37 retrieve translated message corresponding
38 to MSGID from TEXTDOMAIN
39 .PP
40 If the TEXTDOMAIN parameter is not given, the domain is determined from the
41 environment variable TEXTDOMAIN.  If the message catalog is not found in the
42 regular directory, another location can be specified with the environment
43 variable TEXTDOMAINDIR.
44 When used with the \fB\-s\fR option the program behaves like the `echo' command.
45 But it does not simply copy its arguments to stdout.  Instead those messages
46 found in the selected catalog are translated.
47 Standard search directory: @localedir@
48 .SH AUTHOR
49 Written by Ulrich Drepper.
50 .SH "REPORTING BUGS"
51 Report bugs to <bug-gnu-gettext@gnu.org>.
52 .SH COPYRIGHT
53 Copyright \(co 1995-1997, 2000-2007 Free Software Foundation, Inc.
54 License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
55 .br
56 This is free software: you are free to change and redistribute it.
57 There is NO WARRANTY, to the extent permitted by law.
58 .SH "SEE ALSO"
59 The full documentation for
60 .B gettext
61 is maintained as a Texinfo manual.  If the
62 .B info
63 and
64 .B gettext
65 programs are properly installed at your site, the command
66 .IP
67 .B info gettext
68 .PP
69 should give you access to the complete manual.