EnglishFrenchSpanish

Ad


OnWorks favicon

xview_msgfmt - Online in the Cloud

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

This is the command xview_msgfmt 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


msgfmt - create a message object from a message file

SYNOPSIS


msgfmt [ -v ] filename.po ...

DESCRIPTION


msgfmt creates a message object filename .mo file from the portable message file
filename.po.

The .po file contains strings extracted from source code. .po files can be edited, and
the messages in them can changed to accomodate any language supported by the system.

The xgettext command (see xgettext(1)) can be used to create the default.po file.

The msgfmt command does not modify the portable object files.

Portable Object Files
Each .po file contains one or more lines. Each line contains either a comment or a
statement. Comments start the line with a hash mark (#) and end with the newline
character and are ignored.

Each directive starts on a new line and is separated from <value> by white space (such as
one or more space or tab characters). <value> consists of one or more quoted strings
separated by white space or <CR>. The following are valid directives:
domain domainname
msgid message_identifier
msgstr message_string

The domain directive identifies all following directives until another domain directive is
encountered as applying to the domain domainname. The domainname is a string up to
MAXDOMAIN bytes long, and can contain any characters allowed in legal filenames. Until
the first domain directive is encountered in the file, all target strings belong to the
default domain. The default domain is called default.

The msgid directive specifies the message identifier for the following msgstr directive.
The message_identifier string identifies a target string at retrieval time. Every
statement containing a msgid directive must be followed by a statement containing a msgstr
directive.

The msgstr directive specifies the target string associated with the message_identifier
string declared in the immediately preceding msgid directive.

OPTIONS


-v Verbose. List duplicate message identifiers. Message strings are not
redefined.

EXAMPLES


The following command creates a named .mo file for each domain named in the portable
message objects filename1.po and filename2.po.

msgfmt filename1.po filename2.po

Running msgfmt(1) on the following sample .po file creates two .mo files, named first.mo
and second.mo.
domain "first.mo"
msgid "aao"
msgstr "first sample message"
domain "second.mo"
msgid "bbo"
msgstr "second sample message"

Use xview_msgfmt online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 2
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 3
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 4
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 5
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • 6
    Shadowsocks
    Shadowsocks
    A fast tunnel proxy that helps you
    bypass firewalls This is an application
    that can also be fetched from
    https://sourceforge.net/projects/shadowsocksgui/.
    It ha...
    Download Shadowsocks
  • More »

Linux commands

Ad