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.1 platform.

Package Information

Itstool Dependencies



Installation of itstool

First, fix some compatibility problems with Python-3.12:

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

Install itstool by running the following commands:

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

This package does not come with a test suite.

Now, as the root user:

make install


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

Short Descriptions


is used to create translated XML files