NAME
xgettext.pl - Extract gettext strings from source
SYNOPSIS
xgettext.pl [ -u ] [ -o FILE ] [ INPUTFILE... ]
OPTIONS
DESCRIPTION
Extract translatable strings from given input files.
Currently accepts Perl source files (valid localization function names include maketext
, loc
, x
and _
), HTML::Mason templates (<&|/l>...</&>
or <&|/loc>...</&>
), and Template Toolkit files ([%|l%]...[%END%]
or [%|loc%]...[%END%]
).
The -o flag specifies a PO file name to be written or incrementally updated; -
means writing to STDOUT. If not specified, messages.po is used.
ACKNOWLEDGMENTS
Thanks to Jesse Vincent for contributing to the early version of this utility.
SEE ALSO
Locale::Maketext, Locale::Maketext::Lexicon::Gettext
AUTHORS
Autrijus Tang <autrijus@autrijus.org>
COPYRIGHT
Copyright 2002 by Autrijus Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.