1XGETTEXT(1)           User Contributed Perl Documentation          XGETTEXT(1)
2
3
4

NAME

6       xgettext.pl - Extract translatable strings from source
7

SYNOPSIS

9       xgettext.pl [OPTION] [INPUTFILE]...
10

DESCRIPTION

12       This program extracts translatable strings from given input files, or
13       from STDIN if none are given.
14
15       Please see Locale::Maketext::Extract for a list of supported input file
16       formats.
17

OPTIONS

19       Mandatory arguments to long options are mandatory for short options
20       too.  Similarly for optional arguments.
21
22       Input file location:
23
24       INPUTFILE...
25           Files to extract messages from.  If not specified, STDIN is
26           assumed.
27
28       -f, --files-from=FILE
29           Get list of input files from FILE.
30
31       -D, --directory=DIRECTORY
32           Add DIRECTORY to list for input files search.
33
34       Input file format:
35
36       -u, --use-gettext-style
37           Specifies that the source programs uses the Gettext style (e.g.
38           %1) instead of the Maketext style (e.g. "[_1]") in its localization
39           calls.
40
41       Output file location:
42
43       -d, --default-domain=NAME
44           Use NAME.po for output, instead of "messages.po".
45
46       -o, --output=FILE
47           PO file name to be written or incrementally updated; "-" means
48           writing to STDOUT.
49
50       -p, --output-dir=DIR
51           Output files will be placed in directory DIR.
52
53       Output details:
54
55       -g, --gnu-gettext
56           Enables GNU gettext interoperability by printing "#, perl-make‐
57           text-format" before each entry that has "%" variables.
58

SEE ALSO

60       Locale::Maketext::Extract, Locale::Maketext::Lexicon::Gettext,
61       Locale::Maketext
62

AUTHORS

64       Audrey Tang <cpan@audreyt.org>
65
67       Copyright 2002, 2003, 2004 by Audrey Tang <cpan@audreyt.org>.
68
69       This program is free software; you can redistribute it and/or modify it
70       under the same terms as Perl itself.
71
72       See <http://www.perl.com/perl/misc/Artistic.html>
73
74
75
76perl v5.8.8                       2007-12-22                       XGETTEXT(1)
Impressum