Difference between revisions of "Intltool"

From CBLFS
Jump to navigationJump to search
(I added the package description from BLFS.)
(I added the "Contents" section from BLFS.)
Line 1: Line 1:
 
{| style="text-align: left; background-color: AliceBlue;"
 
{| style="text-align: left; background-color: AliceBlue;"
|-
+
|-valign="top"
 
!Download Source:
 
!Download Source:
 
| http://ftp.gnome.org/pub/gnome/sources/intltool/0.35/intltool-0.35.0.tar.bz2
 
| http://ftp.gnome.org/pub/gnome/sources/intltool/0.35/intltool-0.35.0.tar.bz2
Line 28: Line 28:
 
  install -v -m644 -D doc/I18N-HOWTO \
 
  install -v -m644 -D doc/I18N-HOWTO \
 
     /usr/share/doc/intltool-0.35.0/I18N-HOWTO
 
     /usr/share/doc/intltool-0.35.0/I18N-HOWTO
 +
 +
= Contents =
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! Installed Programs:
 +
| intltoolize, intltool-extract, intltool-merge, intltool-prepare, and intltool-update
 +
|-valign="top"
 +
! Installed Libraries:
 +
| None
 +
|-valign="top"
 +
! Installed Directories:
 +
| /usr/share/intltool and /usr/share/doc/intltool-0.35.0
 +
|}
 +
 +
=== Short Descriptions ===
 +
 +
{| style="text-align: left;"
 +
|-valign="top"
 +
! intltoolize
 +
| prepares a package to use intltool.
 +
|-valign="top"
 +
! intltool-extract
 +
| generates header files that can be read by '''gettext'''.
 +
|-valign="top"
 +
! intltool-merge
 +
| merges translated strings into various file types.
 +
|-valign="top"
 +
! intltool-prepare
 +
| updates pot files and merges them with translation files.
 +
|-valign="top"
 +
! intltool-update
 +
| updates the po template files and merges them with the translations.
 +
|}

Revision as of 19:42, 14 December 2006

Download Source: http://ftp.gnome.org/pub/gnome/sources/intltool/0.35/intltool-0.35.0.tar.bz2

Introduction to Intltool

The intltool package contains an internationalization tool. This is useful 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.

Dependencies

Required

Non-Multilib or Multilib

Compile the package:

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

Install the package

make install &&
install -v -m644 -D doc/I18N-HOWTO \
    /usr/share/doc/intltool-0.35.0/I18N-HOWTO

Contents

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

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.