XGETTEXT(1) | User Contributed Perl Documentation | XGETTEXT(1) |
xgettext.pl - Extract translatable strings from source
version 1.00
xgettext.pl [OPTION] [INPUTFILE]...
This program extracts translatable strings from given input files, or from STDIN if none are given.
Please see Locale::Maketext::Extract for a list of supported input file formats.
Mandatory arguments to long options are mandatory for short options too. Similarly for optional arguments.
Other comments are not affected.
By default, all builtin parser plugins are enabled for all file types, with warnings turned off.
If any plugin is specified on the command line, then warnings are turned on by default - you can turn them off with "-now"
Use the specified plugin for the default file types recognised by that plugin.
Use the specified plugin for all file types.
Use the specified plugin for any files ending in C<.ext> or C<.ext2>
Use your custom plugin module for all file types
Multiple plugins can be specified on the command line.
Available plugins:
xgettext.pl -P Locale::Maketext::Extract::Plugin::PPI
If a parser plugin encounters a syntax error while parsing, it will abort parsing and hand over to the next parser plugin. If warnings are turned on then the error will be echoed to STDERR.
Off by default, unless any plugin has been specified on the command line.
If you would like to see which files have been processed, which plugins were used, and which strings were extracted, then enable "verbose". If no acceptable plugin was found, or no strings were extracted, then the file is not listed:
Audrey Tang <cpan@audreyt.org>
Copyright 2002-2008 by Audrey Tang <cpan@audreyt.org>.
This software is released under the MIT license cited below.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This software is Copyright (c) 2014 by Audrey Tang.
This is free software, licensed under:
The MIT (X11) License
2014-03-06 | perl v5.30.2 |