Difference between revisions of "Intltool"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section from BLFS.)
Line 2: Line 2:
 
|-valign="top"
 
|-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/{{Intltool-Version2}}/intltool-{{Intltool-Version}}.tar.bz2
 
|}
 
|}
  
Line 27: Line 27:
 
  make install &&
 
  make install &&
 
  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-{{Intltool-Version}}/I18N-HOWTO
  
 
= Contents =
 
= Contents =
Line 40: Line 40:
 
|-valign="top"
 
|-valign="top"
 
! Installed Directories:
 
! Installed Directories:
| /usr/share/intltool and /usr/share/doc/intltool-0.35.0
+
| /usr/share/intltool and /usr/share/doc/intltool-{{Intltool-Version}}
 
|}
 
|}
  

Revision as of 15:01, 17 December 2006

Download Source: http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.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.40.6/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.40.6

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.