Debian Codegraph @

upstream/debian-unstable/man1/gettext.1

raw
1 .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.6.
2 .TH GETTEXT "1" "July 2025" "GNU gettext-runtime 0.26" "User Commands"
3 .SH NAME
4 gettext \- translate message
5 .SH SYNOPSIS
6 .B gettext
7 [\fI\,OPTION\/\fR] [[\fI\,TEXTDOMAIN\/\fR] \fI\,MSGID\/\fR]
8 .br
9 .B gettext
10 [\fI\,OPTION\/\fR] \fI\,-s \/\fR[\fI\,MSGID\/\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 .SS "Options and arguments:"
18 .TP
19 \fB\-d\fR, \fB\-\-domain\fR=\fI\,TEXTDOMAIN\/\fR
20 retrieve translated messages from TEXTDOMAIN
21 .TP
22 \fB\-c\fR, \fB\-\-context\fR=\fI\,CONTEXT\/\fR
23 specify context for MSGID
24 .TP
25 \fB\-e\fR
26 enable expansion of some escape sequences
27 .TP
28 \fB\-n\fR
29 suppress trailing newline
30 .TP
31 \fB\-E\fR
32 (ignored for compatibility)
33 .TP
34 [TEXTDOMAIN] MSGID
35 retrieve translated message corresponding
36 to MSGID from TEXTDOMAIN
37 .SS "Informative output:"
38 .TP
39 \fB\-h\fR, \fB\-\-help\fR
40 display this help and exit
41 .TP
42 \fB\-V\fR, \fB\-\-version\fR
43 display version information and exit
44 .PP
45 If the TEXTDOMAIN parameter is not given, the domain is determined from the
46 environment variable TEXTDOMAIN. If the message catalog is not found in the
47 regular directory, another location can be specified with the environment
48 variable TEXTDOMAINDIR.
49 When used with the \fB\-s\fR option the program behaves like the 'echo' command.
50 But it does not simply copy its arguments to stdout. Instead those messages
51 found in the selected catalog are translated.
52 Standard search directory: /usr/share/locale
53 .SH AUTHOR
54 Written by Ulrich Drepper.
55 .SH "REPORTING BUGS"
56 Report bugs in the bug tracker at <https://savannah.gnu.org/projects/gettext>
57 or by email to <bug\[email protected]>.
58 .SH COPYRIGHT
59 Copyright \(co 1995\-2025 Free Software Foundation, Inc.
60 License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>
61 .br
62 This is free software: you are free to change and redistribute it.
63 There is NO WARRANTY, to the extent permitted by law.
64 .SH "SEE ALSO"
65 The full documentation for
66 .B gettext
67 is maintained as a Texinfo manual. If the
68 .B info
69 and
70 .B gettext
71 programs are properly installed at your site, the command
72 .IP
73 .B info gettext
74 .PP
75 should give you access to the complete manual.