1GETTEXT(1) GNU GETTEXT(1)
2
3
4
6 gettext - translate message
7
9 gettext [OPTION] [[TEXTDOMAIN] MSGID]
10 gettext [OPTION] -s [MSGID]...
11
13 The gettext program translates a natural language message into the
14 user's language, by looking up the translation in a message catalog.
15
16 Display native language translation of a textual message.
17
18 -d, --domain=TEXTDOMAIN
19 retrieve translated messages from TEXTDOMAIN
20
21 -e enable expansion of some escape sequences
22
23 -E (ignored for compatibility)
24
25 -h, --help
26 display this help and exit
27
28 -n suppress trailing newline
29
30 -V, --version
31 display version information and exit
32
33 [TEXTDOMAIN] MSGID
34 retrieve translated message corresponding to MSGID from TEXTDO‐
35 MAIN
36
37 If the TEXTDOMAIN parameter is not given, the domain is determined from
38 the environment variable TEXTDOMAIN. If the message catalog is not
39 found in the regular directory, another location can be specified with
40 the environment variable TEXTDOMAINDIR. When used with the -s option
41 the program behaves like the 'echo' command. But it does not simply
42 copy its arguments to stdout. Instead those messages found in the
43 selected catalog are translated. Standard search directory:
44 /usr/share/locale
45
47 Written by Ulrich Drepper.
48
50 Report bugs to <bug-gnu-gettext@gnu.org>.
51
53 Copyright © 1995-1997, 2000-2007 Free Software Foundation, Inc.
54 License GPLv3+: GNU GPL version 3 or later
55 <http://gnu.org/licenses/gpl.html>
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
60 The full documentation for gettext is maintained as a Texinfo manual.
61 If the info and gettext programs are properly installed at your site,
62 the command
63
64 info gettext
65
66 should give you access to the complete manual.
67
68
69
70GNU gettext-runtime 0.19.8.1 June 2016 GETTEXT(1)