Viewing file: xgettext.1.html (20.15 KB) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
XGETTEXT
XGETTEXT
NAME
SYNOPSIS
DESCRIPTION
AUTHOR
REPORTING BUGS
COPYRIGHT
SEE ALSO
NAME
|
xgettext - extract gettext strings from source |
SYNOPSIS
|
xgettext [OPTION]
[INPUTFILE]... |
DESCRIPTION
|
Extract translatable strings from given input
files. |
|
Mandatory arguments to long options are mandatory for short
options too. Similarly for optional arguments. |
|
get list of input files from FILE |
|
-D, --directory=DIRECTORY |
|
add DIRECTORY to list for input files search |
|
If input file is -, standard input is read. |
|
-d, --default-domain=NAME |
|
use NAME.po for output (instead of messages.po) |
|
write output to specified file |
|
output files will be placed in directory DIR |
|
If output file is -, output is written to standard
output. |
|
Choice of input file language: |
|
recognise the specified language (C, C++, ObjectiveC, PO,
Python, Lisp, EmacsLisp, librep, Java, awk, YCP, Tcl, RST,
Glade) |
|
shorthand for --language=C++ |
|
By default the language is guessed depending on the input
file name extension. |
|
join messages with existing file |
|
-x, --exclude-file=FILE.po |
|
entries from FILE.po are not extracted |
|
place comment block with TAG (or those preceding keyword
lines) in output file |
|
Language=C/C++ specific options: |
|
additional keyword to be looked for (without WORD means not
to use default keywords) |
|
understand ANSI C trigraphs for input |
|
more detailed formatstring recognition result |
|
do not use C escapes in output (default) |
|
use C escapes in output, no extended chars |
|
write PO file even if empty |
|
write the .po file using indented style |
|
do not write '#: filename:line' lines |
|
generate '#: filename:line' lines (default) |
|
write out strict Uniforum conforming .po file |
|
do not break long message lines, longer than the output page
width, into several lines |
|
sort output by file location |
|
don't write header with `msgid ""'
entry |
|
--copyright-holder=STRING |
|
set copyright holder in output |
|
omit FSF copyright in output for foreign user |
|
-m,
--msgstr-prefix[=STRING] |
|
use STRING or "" as prefix for msgstr
entries |
|
-M,
--msgstr-suffix[=STRING] |
|
use STRING or "" as suffix for msgstr
entries |
|
display this help and exit |
|
output version information and exit |
AUTHOR
|
Written by Ulrich Drepper. |
REPORTING BUGS
|
Report bugs to <bug-gnu-gettext@gnu.org>. |
COPYRIGHT
|
Copyright 1995-1998, 2000-2002 Free Software Foundation,
Inc.
This is free software; see the source for copying
conditions. There is NO warranty; not even for
MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. |
SEE ALSO
|
The full documentation for xgettext is maintained as
a Texinfo manual. If the info and xgettext
programs are properly installed at your site, the
command |
|
should give you access to the complete manual. |
|