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-2006 Free Software Foundation, Inc.
54 This is free software; see the source for copying conditions. There is
55 NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
56 PURPOSE.
57
59 The full documentation for gettext is maintained as a Texinfo manual.
60 If the info and gettext programs are properly installed at your site,
61 the command
62
63 info gettext
64
65 should give you access to the complete manual.
66
67
68
69GNU gettext-runtime 0.16.1 November 2006 GETTEXT(1)