itstool-2.0.7

#### Beyond Linux® From Scratch (systemd Edition) - Version 12.2

### Chapter 49. Extensible Markup Language (XML)

- Prev

  docbook-xsl-nons-1.79.2

- Next

  xmlto-0.0.29

- Up
- Home

# itstool-2.0.7

## Introduction to itstool

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).

This package is known to build and work properly using an LFS 12.2 platform.

### Package Information

- Download (HTTP): https://files.itstool.org/itstool/itstool-2.0.7.tar.bz2

- Download MD5 sum: 267a3bdc72a2d8abb1b824f2ea32ee9b

- Download size: 104 KB

- Estimated disk space required: 688 KB

- Estimated build time: less than 0.1 SBU

### Itstool Dependencies

#### Required

docbook-xml-4.5

## Installation of itstool

First, fix some compatibility problems with Python-3.12:

    sed -i 's/re.sub(/re.sub(r/'         itstool.in &&
    sed -i 's/re.compile(/re.compile(r/' itstool.in

Install itstool by running the following commands:

    PYTHON=/usr/bin/python3 ./configure --prefix=/usr &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

## Contents

Installed Program: itstool
Installed Libraries: None
Installed Directory: /usr/share/itstool

### Short Descriptions

itstool | is used to create translated XML files

- Prev

  docbook-xsl-nons-1.79.2

- Next

  xmlto-0.0.29

- Up
- Home