EnglishFrenchSpanish

Ad


OnWorks favicon

itstool - Online in the Cloud

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

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


itstool - convert between XML and PO using ITS

SYNOPSIS


itstool [OPTIONS] XMLFILES...
itstool -m <MOFILE> [OPTIONS] XMLFILES...
itstool -j <XMLFILE> [OPTIONS] MOFILES...

DESCRIPTION


itstool extracts messages from XML files and outputs PO template files, then merges
translations from MO files to create translated XML files. It determines what to translate
and how to chunk it into messages using the W3C Internationalization Tag Set (ITS).

To extract messages from XML files XMLFILES and output them to OUT.pot:

itstool -o OUT.pot XMLFILES

After merging with existing translations or translating strings, generate an MO file with
msgfmt(1), then output translated files to the directory DIR:

itstool -m OUT.mo -o DIR XMLFILES

You can also create a single multilingual XML output file using an input XML file and a
set of MO files:

itstool -j FILE.xml -o OUT.xml MOFILES

ITS definitions are loaded from the built-in rules, rules embedded in the source XML
files, files passed with the -i option, and ITS attributes in the source XML files. Later
definitions take precedence. You can disable built-in rules by passing the -n option.

OPTIONS


Extracting
-o OUT.pot
--out OUT.pot
output PO template to the file OUT.pot

Merging
-m MOFILE XMLFILES
--merge MOFILE XMLFILES
merge from an MO file MOFILE and output translated XML files for source XMLFILES

-l LANG
--lang LANG
explicitly set the language code output to XML

-o OUT
--out OUT
output XML files in the directory OUT

Joining
-j MLIFILE MOFILES
--join XMLFILE MOFILES
join translations from MOFILES into a multilingual file based on source XMLFILE

-o OUT.xml
--out OUT.xml
output to the XML file OUT.xml

Common
-i ITS
--its ITS
load the ITS rules in the file ITS (can specify multiple times)

-n
--no-builtins
do not apply the built-in ITS rules that ship with itstool

-s
--strict
exit with error when PO files contain broken XML

-d
--load-dtd
load external DTDs used by input XML files

-k
--keep-entities
keep entity references unexpanded in PO files

-p NAME VALUE
--param NAME VALUE
define ITS parameter NAME to the value VALUE (can specify multiple times)

Use itstool online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    wxPython
    wxPython
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 2
    packfilemanager
    packfilemanager
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 3
    IPerf2
    IPerf2
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 4
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • 5
    BotMan
    BotMan
    Write your chatbot logic once and
    connect it to one of the available
    messaging services, including Amazon
    Alexa, Facebook Messenger, Slack,
    Telegram or even yo...
    Download BotMan
  • 6
    gerbv  a Gerber (RS-274X) viewer
    gerbv a Gerber (RS-274X) viewer
    Gerbv is an open source Gerber file
    (RS-274X only) viewer. Gerbv lets you
    load several files on top of each other,
    do measurements on the displayed image,
    etc. ...
    Download gerbv a Gerber (RS-274X) viewer
  • 7
    Iometer
    Iometer
    I/O performance Analysis Tool.
    Audience: Developers, Information
    Technology, Science/Research, System
    Administrators. User interface: Win32
    (MS Windows). Progr...
    Download Iometer
  • More »

Linux commands

Ad