[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[cf3ab518] | 7 | <!ENTITY intltool-download-http "http://ftp.gnome.org/pub/GNOME/sources/intltool/0.32/intltool-&intltool-version;.tar.bz2">
|
---|
| 8 | <!ENTITY intltool-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/intltool/0.32/intltool-&intltool-version;.tar.bz2">
|
---|
| 9 | <!ENTITY intltool-md5sum "b829f3d426c6a68e09196b95ba7ffa3b">
|
---|
| 10 | <!ENTITY intltool-size "125 KB">
|
---|
| 11 | <!ENTITY intltool-buildsize "1.6 MB">
|
---|
| 12 | <!ENTITY intltool-time "0.01 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[c4e14347] | 15 | <sect1 id="intltool" xreflabel="intltool-&intltool-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[dd3f20f0] | 20 | <?dbhtml filename="intltool.html"?>
|
---|
[c4e14347] | 21 | <title>intltool-&intltool-version;</title>
|
---|
| 22 |
|
---|
[fdca4266] | 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application>intltool</application></title>
|
---|
| 25 |
|
---|
[cf3ab518] | 26 | <para>The <application>intltool</application> package contains an
|
---|
| 27 | internationalization tool. This is useful for extracting translatable strings
|
---|
| 28 | from source files, collecting the extracted strings with messages from
|
---|
| 29 | traditional source files (<filename class="directory"><source
|
---|
| 30 | directory>/<package>/po</filename>) and merging the translations into
|
---|
| 31 | <filename>.xml</filename>, <filename>.desktop</filename> and
|
---|
| 32 | <filename>.oaf</filename> files.</para>
|
---|
[fdca4266] | 33 |
|
---|
| 34 | <sect3><title>Package information</title>
|
---|
| 35 | <itemizedlist spacing='compact'>
|
---|
| 36 | <listitem><para>Download (HTTP): <ulink
|
---|
| 37 | url="&intltool-download-http;"/></para></listitem>
|
---|
| 38 | <listitem><para>Download (FTP): <ulink
|
---|
| 39 | url="&intltool-download-ftp;"/></para></listitem>
|
---|
[cf3ab518] | 40 | <listitem><para>MD5 sum: &intltool-md5sum;</para></listitem>
|
---|
[fdca4266] | 41 | <listitem><para>Download size: &intltool-size;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated Disk space required:
|
---|
| 43 | &intltool-buildsize;</para></listitem>
|
---|
| 44 | <listitem><para>Estimated build time:
|
---|
| 45 | &intltool-time;</para></listitem></itemizedlist>
|
---|
| 46 | </sect3>
|
---|
| 47 |
|
---|
[cf3ab518] | 48 | <sect3><title><application>intltool</application> dependencies</title>
|
---|
| 49 | <sect4><title>Required</title>
|
---|
| 50 | <para><xref linkend="perl-modules"/>: XML-Parser</para>
|
---|
| 51 | </sect4>
|
---|
| 52 | </sect3>
|
---|
| 53 |
|
---|
[fdca4266] | 54 | </sect2>
|
---|
| 55 |
|
---|
| 56 | <sect2>
|
---|
| 57 | <title>Installation of <application>intltool</application></title>
|
---|
| 58 |
|
---|
[cf3ab518] | 59 | <para>Install <application>intltool</application> by running the following
|
---|
| 60 | commands:</para>
|
---|
[fdca4266] | 61 |
|
---|
| 62 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 63 | make &&
|
---|
| 64 | make install</command></userinput></screen>
|
---|
| 65 |
|
---|
| 66 | </sect2>
|
---|
| 67 |
|
---|
| 68 | <sect2>
|
---|
| 69 | <title>Contents</title>
|
---|
| 70 |
|
---|
[cf3ab518] | 71 | <para>The <application>intltool</application> package contains
|
---|
| 72 | <command>intltoolize</command>,
|
---|
| 73 | <command>intltool-update</command>,
|
---|
| 74 | <command>intltool-extract</command>,
|
---|
| 75 | <command>intltool-merge</command> and
|
---|
| 76 | <command>intltool-prepare</command>.</para>
|
---|
[fdca4266] | 77 |
|
---|
| 78 | </sect2>
|
---|
| 79 |
|
---|
| 80 | <sect2><title>Description</title>
|
---|
| 81 |
|
---|
| 82 | <sect3><title>intltoolize</title>
|
---|
[cf3ab518] | 83 | <para><command>intltoolize</command> prepares a package to use
|
---|
| 84 | <application>intltool</application>.</para></sect3>
|
---|
[fdca4266] | 85 |
|
---|
| 86 | <sect3><title>intltool-update</title>
|
---|
[cf3ab518] | 87 | <para><command>intltool-update</command> updates the <filename>po</filename>
|
---|
| 88 | template files and merges them with the translations.</para></sect3>
|
---|
[fdca4266] | 89 |
|
---|
| 90 | <sect3><title>intltool-extract</title>
|
---|
[cf3ab518] | 91 | <para><command>intltool-extract</command> generates header files that can be
|
---|
| 92 | read by <command>gettext</command>.</para></sect3>
|
---|
[fdca4266] | 93 |
|
---|
| 94 | <sect3><title>intltool-merge</title>
|
---|
[cf3ab518] | 95 | <para><command>intltool-merge</command> merges translated strings into various
|
---|
| 96 | file types.</para></sect3>
|
---|
[fdca4266] | 97 |
|
---|
| 98 | <sect3><title>intltool-prepare</title>
|
---|
[cf3ab518] | 99 | <para><command>intltool-prepare</command> updates pot files and merges them
|
---|
| 100 | with translation files.</para></sect3>
|
---|
[fdca4266] | 101 |
|
---|
| 102 | </sect2>
|
---|
[c4e14347] | 103 |
|
---|
| 104 | </sect1>
|
---|
| 105 |
|
---|