version 1, including all changes.
.
Rev |
Author |
# |
Line |
1 |
perry |
1 |
XGETTEXT |
|
|
2 |
!!!XGETTEXT |
|
|
3 |
NAME |
|
|
4 |
SYNOPSIS |
|
|
5 |
DESCRIPTION |
|
|
6 |
AUTHOR |
|
|
7 |
REPORTING BUGS |
|
|
8 |
COPYRIGHT |
|
|
9 |
SEE ALSO |
|
|
10 |
---- |
|
|
11 |
!!NAME |
|
|
12 |
|
|
|
13 |
|
|
|
14 |
xgettext - extract translatable string from given input files |
|
|
15 |
!!SYNOPSIS |
|
|
16 |
|
|
|
17 |
|
|
|
18 |
__xgettext__ [[''OPTION''] ''INPUTFILE'' |
|
|
19 |
... |
|
|
20 |
!!DESCRIPTION |
|
|
21 |
|
|
|
22 |
|
|
|
23 |
Mandatory arguments to long options are mandatory for short |
|
|
24 |
options too. |
|
|
25 |
|
|
|
26 |
|
|
|
27 |
__-a__, __--extract-all__ |
|
|
28 |
|
|
|
29 |
|
|
|
30 |
extract all strings |
|
|
31 |
|
|
|
32 |
|
|
|
33 |
__-c__, __--add-comments__[[=''TAG''] |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
place comment block with ''TAG'' (or those preceding |
|
|
37 |
keyword lines) in output file |
|
|
38 |
|
|
|
39 |
|
|
|
40 |
__-C__, __--c__++ |
|
|
41 |
|
|
|
42 |
|
|
|
43 |
shorthand for __--language__=''C''++ |
|
|
44 |
|
|
|
45 |
|
|
|
46 |
__--debug__ |
|
|
47 |
|
|
|
48 |
|
|
|
49 |
more detailed formatstring recognision result |
|
|
50 |
|
|
|
51 |
|
|
|
52 |
__-d__, __--default-domain__=''NAME'' |
|
|
53 |
|
|
|
54 |
|
|
|
55 |
use ''NAME''.po for output (instead of |
|
|
56 |
messages.po) |
|
|
57 |
|
|
|
58 |
|
|
|
59 |
__-D__, __--directory__=''DIRECTORY'' |
|
|
60 |
|
|
|
61 |
|
|
|
62 |
add ''DIRECTORY'' to list for input files |
|
|
63 |
search |
|
|
64 |
|
|
|
65 |
|
|
|
66 |
__-e__, __--no-escape__ |
|
|
67 |
|
|
|
68 |
|
|
|
69 |
do not use C escapes in output (default) |
|
|
70 |
|
|
|
71 |
|
|
|
72 |
__-E__, __--escape__ |
|
|
73 |
|
|
|
74 |
|
|
|
75 |
use C escapes in output, no extended chars |
|
|
76 |
|
|
|
77 |
|
|
|
78 |
__-f__, __--files-from__=''FILE'' |
|
|
79 |
|
|
|
80 |
|
|
|
81 |
get list of input files from ''FILE'' |
|
|
82 |
|
|
|
83 |
|
|
|
84 |
__--force-po__ |
|
|
85 |
|
|
|
86 |
|
|
|
87 |
write PO file even if empty |
|
|
88 |
|
|
|
89 |
|
|
|
90 |
__--foreign-user__ |
|
|
91 |
|
|
|
92 |
|
|
|
93 |
omit FSF copyright in output for foreign user |
|
|
94 |
|
|
|
95 |
|
|
|
96 |
__-F__, __--sort-by-file__ |
|
|
97 |
|
|
|
98 |
|
|
|
99 |
sort output by file location |
|
|
100 |
|
|
|
101 |
|
|
|
102 |
__-h__, __--help__ |
|
|
103 |
|
|
|
104 |
|
|
|
105 |
display a help message and exit |
|
|
106 |
|
|
|
107 |
|
|
|
108 |
__-i__, __--indent__ |
|
|
109 |
|
|
|
110 |
|
|
|
111 |
write the .po file using indented style |
|
|
112 |
|
|
|
113 |
|
|
|
114 |
__-j__, __--join-existing__ |
|
|
115 |
|
|
|
116 |
|
|
|
117 |
join messages with existing file |
|
|
118 |
|
|
|
119 |
|
|
|
120 |
__-k__, __--keyword__[[=''WORD''] |
|
|
121 |
|
|
|
122 |
|
|
|
123 |
additonal keyword to be looked for (without ''WORD'' |
|
|
124 |
means not to use default keywords) |
|
|
125 |
|
|
|
126 |
|
|
|
127 |
__-L__, __--language__=''NAME'' |
|
|
128 |
|
|
|
129 |
|
|
|
130 |
recognise the specified language (C, C++, PO), otherwise is |
|
|
131 |
guessed from file extension |
|
|
132 |
|
|
|
133 |
|
|
|
134 |
__-m__, |
|
|
135 |
__--msgstr-prefix__[[=''STRING''] |
|
|
136 |
|
|
|
137 |
|
|
|
138 |
use ''STRING'' or |
|
|
139 |
'' |
|
|
140 |
|
|
|
141 |
|
|
|
142 |
__-M__, |
|
|
143 |
__--msgstr-suffix__[[=''STRING''] |
|
|
144 |
|
|
|
145 |
|
|
|
146 |
use ''STRING'' or |
|
|
147 |
'' |
|
|
148 |
|
|
|
149 |
|
|
|
150 |
__--no-location__ |
|
|
151 |
|
|
|
152 |
|
|
|
153 |
do not write '#: filename:line' lines |
|
|
154 |
|
|
|
155 |
|
|
|
156 |
__-n__, __--add-location__ |
|
|
157 |
|
|
|
158 |
|
|
|
159 |
generate '#: filename:line' lines (default) |
|
|
160 |
|
|
|
161 |
|
|
|
162 |
__--omit-header__ |
|
|
163 |
|
|
|
164 |
|
|
|
165 |
don't write header with `msgid |
|
|
166 |
|
|
|
167 |
|
|
|
168 |
__-o__, __--output__=''FILE'' |
|
|
169 |
|
|
|
170 |
|
|
|
171 |
write output to specified file |
|
|
172 |
|
|
|
173 |
|
|
|
174 |
__-p__, __--output-dir__=''DIR'' |
|
|
175 |
|
|
|
176 |
|
|
|
177 |
output files will be placed in directory |
|
|
178 |
''DIR'' |
|
|
179 |
|
|
|
180 |
|
|
|
181 |
__-s__, __--sort-output__ |
|
|
182 |
|
|
|
183 |
|
|
|
184 |
generate sorted output and remove duplicates |
|
|
185 |
|
|
|
186 |
|
|
|
187 |
__--strict__ |
|
|
188 |
|
|
|
189 |
|
|
|
190 |
write out strict Uniforum conforming .po file |
|
|
191 |
|
|
|
192 |
|
|
|
193 |
__-T__, __--trigraphs__ |
|
|
194 |
|
|
|
195 |
|
|
|
196 |
understand ANSI C trigraphs for input |
|
|
197 |
|
|
|
198 |
|
|
|
199 |
__-V__, __--version__ |
|
|
200 |
|
|
|
201 |
|
|
|
202 |
output version information and exit |
|
|
203 |
|
|
|
204 |
|
|
|
205 |
__-w__, __--width__=''NUMBER'' |
|
|
206 |
|
|
|
207 |
|
|
|
208 |
set output page width |
|
|
209 |
|
|
|
210 |
|
|
|
211 |
__-x__, __--exclude-file__=''FILE'' |
|
|
212 |
|
|
|
213 |
|
|
|
214 |
entries from ''FILE'' are not extracted |
|
|
215 |
|
|
|
216 |
|
|
|
217 |
If ''INPUTFILE'' is __-__, standard input is |
|
|
218 |
read. |
|
|
219 |
!!AUTHOR |
|
|
220 |
|
|
|
221 |
|
|
|
222 |
Written by Ulrich Drepper. |
|
|
223 |
!!REPORTING BUGS |
|
|
224 |
|
|
|
225 |
|
|
|
226 |
Report bugs to |
|
|
227 |
!!COPYRIGHT |
|
|
228 |
|
|
|
229 |
|
|
|
230 |
Copyright 1995-1998, 2000, 2001 Free Software Foundation, |
|
|
231 |
Inc. |
|
|
232 |
This is free software; see the source for copying |
|
|
233 |
conditions. There is NO warranty; not even for |
|
|
234 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR |
|
|
235 |
PURPOSE. |
|
|
236 |
!!SEE ALSO |
|
|
237 |
|
|
|
238 |
|
|
|
239 |
gettext(1), msgmerge(1) |
|
|
240 |
|
|
|
241 |
|
|
|
242 |
The full documentation for __xgettext__ is maintained as |
|
|
243 |
a Texinfo manual. If the __info__ and __xgettext__ |
|
|
244 |
programs are properly installed at your site, the command |
|
|
245 |
__info xgettext__ should give you access to the complete |
|
|
246 |
manual. |
|
|
247 |
|
|
|
248 |
|
|
|
249 |
On Debian, the manual is also available in HTML format in |
|
|
250 |
the gettext-doc package. |
|
|
251 |
---- |