Difference between revisions of "Intltool"

From CBLFS
Jump to navigationJump to search
(I added the "Contents" section from BLFS.)
 
(5 intermediate revisions by 4 users not shown)
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
 
|}
 
|}
  
 
----
 
----
  
== Introduction to Intltool ==
+
{{Package-Introduction|intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files.|http://www.freedesktop.org/wiki/Software/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 ==
 
== Dependencies ==
Line 27: Line 25:
 
  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 38:
 
|-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}}
 
|}
 
|}
  
Line 62: Line 60:
 
| updates the po template files and merges them with the translations.
 
| updates the po template files and merges them with the translations.
 
|}
 
|}
 +
 +
[[Category:General Utilities]]

Latest revision as of 14:00, 19 March 2009

Download Source: http://ftp.gnome.org/pub/gnome/sources/intltool/0.40/intltool-0.40.6.tar.bz2

Introduction to Intltool

intltool is a set of tools to centralize translation of many different file formats using GNU gettext-compatible PO files.

Project Homepage: http://www.freedesktop.org/wiki/Software/intltool

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.
Retrieved from "?title=Intltool&oldid=17250"