#### Beyond Linux® From Scratch (systemd Edition) - Version r13.0-491

### Chapter 11. General Utilities

- Prev

  ImageMagick-7.1.2-13

- Next

  ISO Codes-4.20.1

- Up
- Home

# Intltool-0.51.0

## Introduction to Intltool

The Intltool is 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

Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.

### Package Information

- Download (HTTP): http://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz

- Download MD5 sum: 12e517cac2b57a0121cda351570f1e63

- Download size: 159 KB

- Estimated disk space required: 1.5 MB

- Estimated build time: less than 0.1 SBU

### Intltool Dependencies

#### Required

XML-Parser-2.58

## 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 '\$\{'.

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

    sed -i 's:\\\${:\\\$\\{:' intltool-update.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 \
        /usr/share/doc/intltool-0.51.0/I18N-HOWTO

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

- Prev

  ImageMagick-7.1.2-13

- Next

  ISO Codes-4.20.1

- Up
- Home