EnglishFrenchSpanish

OnWorks favicon

xview_xgettext - Online in the Cloud

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

This is the command xview_xgettext 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 - conditionally extract strings from C programs

SYNOPSIS


xgettext -d [ cmnopvhP ] [ -odirectory-prefix ] [ -xexclude-list ] [ filename ... ]
xgettext [ -amopvhP ] [ -xexclude-list ] [ filename ... ]

DESCRIPTION


xgettext is used to automate the creation of portable message files. A portable message
file contains copies of "C" strings that are found in "C" source code in filename. When
the -d option is specified, xgettext places the extracted strings in the file name.po.
name is either the domain specified in a dgettext call, or messages.po for strings
extracted from gettext and textdomain calls. If the -d flag is not specified, xgettext
places all the strings in messages.po. The portable message file can be used as input to
the msgfmt(1) utility, which will produce a binary form of the message file than can be
used at application run-time.

OPTIONS


-a Extract ALL strings, not just those found in gettext, dgettext, and textdomain
calls.

-cflag Comments beginning with flag filename on the first line of the comment are added
to file filename as # delimited comments.

-d Produce duplicates. Does not sort output when writing the portable message file
and will not overwrite existing output files. Places output from each domain
specified in a dgettext call into a separate file named for the domain, ie.
name.po

-cflag Comments beginning with flag filename on the first line of the comment are added
to file filename as # delimited comments.

-mstring Causes xgettext to fill in the msgstr line of the portable message files it
produces. xgettext uses the corresponding msgid string extracted from the "C"
file, appending string. Useful for debugging purposes.

-n Add # delimited line number comments to output file indicating the line number
in the source file where each extracted string is encountered.

-ofilename
rename the default output file from messages.po to filename.

-ppathname
Specify the directory where the output files will be placed. This option
overrides the current working directory.

-xfilename
Specify a file that contains a list of strings that are not be extracted from
the input files. Each string to be excluded must appear on a line by itself in
the file filename.

-P include strings in pre-processor statements.

-v Verbose mode.

-h Print a help message on standard output.

Use xview_xgettext online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Boost C++ Libraries
    Boost C++ Libraries
    Boost provides free portable
    peer-reviewed C++ libraries. The
    emphasis is on portable libraries which
    work well with the C++ Standard Library.
    See http://www.bo...
    Download Boost C++ Libraries
  • 2
    VirtualGL
    VirtualGL
    VirtualGL redirects 3D commands from a
    Unix/Linux OpenGL application onto a
    server-side GPU and converts the
    rendered 3D images into a video stream
    with which ...
    Download VirtualGL
  • 3
    libusb
    libusb
    Library to enable user space
    application programs to communicate with
    USB devices. Audience: Developers, End
    Users/Desktop. Programming Language: C.
    Categories...
    Download libusb
  • 4
    SWIG
    SWIG
    SWIG is a software development tool
    that connects programs written in C and
    C++ with a variety of high-level
    programming languages. SWIG is used with
    different...
    Download SWIG
  • 5
    WooCommerce Nextjs React Theme
    WooCommerce Nextjs React Theme
    React WooCommerce theme, built with
    Next JS, Webpack, Babel, Node, and
    Express, using GraphQL and Apollo
    Client. WooCommerce Store in React(
    contains: Products...
    Download WooCommerce Nextjs React Theme
  • 6
    archlabs_repo
    archlabs_repo
    Package repo for ArchLabs This is an
    application that can also be fetched
    from
    https://sourceforge.net/projects/archlabs-repo/.
    It has been hosted in OnWorks in...
    Download archlabs_repo
  • More »

Linux commands

Ad