EnglishFrenchSpanish

OnWorks favicon

xgettext.plp - Online in the Cloud

Run xgettext.plp in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command xgettext.plp that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


xgettext.pl - Extract translatable strings from source

VERSION


version 1.00

SYNOPSIS


xgettext.pl [OPTION] [INPUTFILE]...

DESCRIPTION


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.

OPTIONS


Mandatory arguments to long options are mandatory for short options too. Similarly for
optional arguments.

Input file location:
INPUTFILE...
Files to extract messages from. If not specified, STDIN is assumed.

-f, --files-from=FILE
Get list of input files from FILE.

-D, --directory=DIRECTORY
Add DIRECTORY to list for input files search.

Input file format:
-u, --use-gettext-style
Specifies that the source programs uses the Gettext style (e.g. %1) instead of the
Maketext style (e.g. "[_1]") in its localization calls.

Output file location:
-d, --default-domain=NAME
Use NAME.po for output, instead of "messages.po".

-o, --output=FILE
PO file name to be written or incrementally updated; "-" means writing to STDOUT.

-p, --output-dir=DIR
Output files will be placed in directory DIR.

Output details:
-g, --gnu-gettext
Enables GNU gettext interoperability by printing "#, perl-maketext-format" before each
entry that has "%" variables.

-W, --wrap
If wrap is enabled, then, for entries with multiple file locations, each location is
listed on a separate line. The default is to put them all on a single line.

Other comments are not affected.

Plugins:
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"

-P|--plugin pluginname
Use the specified plugin for the default file types recognised by that
plugin.

-P|--plugin 'pluginname=*'
Use the specified plugin for all file types.

-P|--plugin pluginname=ext,ext2
Use the specified plugin for any files ending in C<.ext> or C<.ext2>

-P|--plugin My::Module::Name='*'
Use your custom plugin module for all file types

Multiple plugins can be specified on the command line.

Available plugins:

"perl" : Locale::Maketext::Extract::Plugin::Perl
For a slightly more accurate but much slower Perl parser, you can use the PPI plugin.
This does not have a short name, but must be specified in full, eg:

xgettext.pl -P Locale::Maketext::Extract::Plugin::PPI

"tt2" : Locale::Maketext::Extract::Plugin::TT2
"yaml" : Locale::Maketext::Extract::Plugin::YAML
"formfu" : Locale::Maketext::Extract::Plugin::FormFu
"mason" : Locale::Maketext::Extract::Plugin::Mason
"text" : Locale::Maketext::Extract::Plugin::TextTemplate
"generic" : Locale::Maketext::Extract::Plugin::Generic

Warnings:
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.

-w|--warnings
-now|--nowarnings

Verbose:
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:

-v|--verbose
Lists processed files.

-v -v|--verbose --verbose :
Lists processed files and which plugins managed to extract strings.

-v -v|--verbose --verbose :
Lists processed files, which plugins managed to extract strings, and the extracted
strings, the line where they were found, and any variables.

Use xgettext.plp online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 2
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 3
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • 4
    Apache OpenOffice Extensions
    Apache OpenOffice Extensions
    The official catalog of Apache
    OpenOffice extensions. You'll find
    extensions ranging from dictionaries to
    tools to import PDF files and to connect
    with ext...
    Download Apache OpenOffice Extensions
  • 5
    MantisBT
    MantisBT
    Mantis is an easily deployable, web
    based bugtracker to aid product bug
    tracking. It requires PHP, MySQL and a
    web server. Checkout our demo and hosted
    offerin...
    Download MantisBT
  • 6
    LAN Messenger
    LAN Messenger
    LAN Messenger is a p2p chat application
    for intranet communication and does not
    require a server. A variety of handy
    features are supported including
    notificat...
    Download LAN Messenger
  • More »

Linux commands

  • 1
    abidw
    abidw
    abidw - serialize the ABI of an ELF
    file abidw reads a shared library in ELF
    format and emits an XML representation
    of its ABI to standard output. The
    emitted ...
    Run abidw
  • 2
    abilint
    abilint
    abilint - validate an abigail ABI
    representation abilint parses the native
    XML representation of an ABI as emitted
    by abidw. Once it has parsed the XML
    represe...
    Run abilint
  • 3
    coresendmsg
    coresendmsg
    coresendmsg - send a CORE API message
    to the core-daemon daemon ...
    Run coresendmsg
  • 4
    core_server
    core_server
    core_server - The primary server for
    SpamBayes. DESCRIPTION: Currently serves
    the web interface only. Plugging in
    listeners for various protocols is TBD.
    This ...
    Run core_server
  • 5
    fwflash
    fwflash
    fwflash - program to flash image file
    to a connected NXT device ...
    Run fwflash
  • 6
    fwts-collect
    fwts-collect
    fwts-collect - collect logs for fwts
    bug reporting. ...
    Run fwts-collect
  • More »

Ad