version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
GETTEXT |
|
|
2 |
!!!GETTEXT |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
AUTHOR |
|
|
7 |
REPORTING BUGS |
|
|
8 |
COPYRIGHT |
|
|
9 |
SEE ALSO |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
gettext - print out string using translation |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__gettext__ [[''OPTION''] [[[[[[''TEXTDOMAIN''] |
|
|
19 |
''MSGID''] ''|'' [[''-s'' |
|
|
20 |
[[''MSGID'']...]] |
|
|
21 |
!!DESCRIPTION |
|
|
22 |
|
|
|
23 |
|
|
|
24 |
__-d__, __--domain__=''TEXTDOMAIN'' |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
retrieve translated messages from TEXTDOMAIN |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
__-e__ |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
enable expansion of some escape sequences |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
__-E__ |
|
|
37 |
|
|
|
38 |
|
|
|
39 |
(ignored for compatibility) |
|
|
40 |
|
|
|
41 |
|
|
|
42 |
__-h__, __--help__ |
|
|
43 |
|
|
|
44 |
|
|
|
45 |
display a help message and exit |
|
|
46 |
|
|
|
47 |
|
|
|
48 |
__-n__ |
|
|
49 |
|
|
|
50 |
|
|
|
51 |
suppress trailing newline |
|
|
52 |
|
|
|
53 |
|
|
|
54 |
__-V__, __--version__ |
|
|
55 |
|
|
|
56 |
|
|
|
57 |
display version information and exit |
|
|
58 |
|
|
|
59 |
|
|
|
60 |
''[[TEXTDOMAIN] MSGID'' |
|
|
61 |
|
|
|
62 |
|
|
|
63 |
retrieve translated message corresponding to ''MSGID'' |
|
|
64 |
from ''TEXTDOMAIN'' |
|
|
65 |
|
|
|
66 |
|
|
|
67 |
If the ''TEXTDOMAIN'' parameter is not given, the domain |
|
|
68 |
is determined from the environment variable |
|
|
69 |
''TEXTDOMAIN''. If the message catalog is not found in |
|
|
70 |
the regular directory, another location can be specified |
|
|
71 |
with the environment variable |
|
|
72 |
''TEXTDOMAINDIR''. |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
When used with the __-s__ option the program behaves like |
|
|
76 |
the __echo__ command. But it does not simply copy its |
|
|
77 |
arguments to stdout. Instead those messages found in the |
|
|
78 |
selected catalog are translated. |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
Standard search directory: /usr/share/locale |
|
|
82 |
!!AUTHOR |
|
|
83 |
|
|
|
84 |
|
|
|
85 |
Written by Ulrich Drepper. |
|
|
86 |
!!REPORTING BUGS |
|
|
87 |
|
|
|
88 |
|
|
|
89 |
Report bugs to |
|
|
90 |
!!COPYRIGHT |
|
|
91 |
|
|
|
92 |
|
|
|
93 |
Copyright 1995-1997, 2000, 2001 Free Software Foundation, |
|
|
94 |
Inc. |
|
|
95 |
This is free software; see the source for copying |
|
|
96 |
conditions. There is NO warranty; not even for |
|
|
97 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR |
|
|
98 |
PURPOSE. |
|
|
99 |
!!SEE ALSO |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
msgfmt(1), xgettext(1) |
|
|
103 |
|
|
|
104 |
|
|
|
105 |
The full documentation for __gettext__ is maintained as a |
|
|
106 |
Texinfo manual. If the __info__ and __gettext__ |
|
|
107 |
programs are properly installed at your site, the command |
|
|
108 |
__info gettext__ should give you access to the complete |
|
|
109 |
manual. |
|
|
110 |
|
|
|
111 |
|
|
|
112 |
On Debian, the manual is also available in HTML format in |
|
|
113 |
the gettext-doc package. |
|
|
114 |
---- |