Intltool-0.51.0

Introduction to Intltool

The Intltool package provides an internationalization tool used for extracting translatable strings from source files, collecting the extracted strings with messages from traditional source files (<source directory>/<package>/po) and merging the translations into .xml, .desktop and .oaf files.

[Note]

Note

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

Package Information

Intltool Dependencies

Required

XML-Parser-2.59

Installation of Intltool

First fix a warning that is caused by perl-5.22 and later:

sed -i 's:\\\${:\\\$\\{:' intltool-update.in
[Note]

Note

The above regular expression looks unusual because of all the backslashes. What it does is add a backslash before the right brace character in the sequence '\${' resulting in '\$\{'.

Install Intltool by running the following commands:

./configure --prefix=/usr &&
make

To test the results, issue: make check.

Now, as the root user:

make install &&
install -v -m644 -D doc/I18N-HOWTO -t /usr/share/doc/intltool-0.51.0

Contents

Installed Programs: intltool-extract, intltool-merge, intltool-prepare, intltool-update, and intltoolize
Installed Libraries: None
Installed Directories: /usr/share/doc/intltool-0.51.0 and /usr/share/intltool

Short Descriptions

intltoolize

prepares a package to use intltool.

intltool-extract

generates header files that can be read by gettext.

intltool-merge

merges translated strings into various file types.

intltool-prepare

updates pot files and merges them with translation files.

intltool-update

updates the po template files and merges them with the translations.