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
This version of BLFS may not build or run
some packages properly if LFS or dependencies have been updated
since the most recent stable version of the System V
books.
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
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