[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0eecea5] | 7 | <!ENTITY intltool-download-http "http://ftp.gnome.org/pub/GNOME/sources/intltool/&intltool-version;/intltool-&intltool-version;.tar.bz2">
|
---|
| 8 | <!ENTITY intltool-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/intltool/&intltool-version;/intltool-&intltool-version;.tar.bz2">
|
---|
| 9 | <!ENTITY intltool-md5sum "7d3b6d421b0fb9beee7faf97daab45e6">
|
---|
| 10 | <!ENTITY intltool-size "126 KB">
|
---|
| 11 | <!ENTITY intltool-buildsize "1.5 MB">
|
---|
| 12 | <!ENTITY intltool-time "less than 0.1 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[c4e14347] | 15 | <sect1 id="intltool" xreflabel="intltool-&intltool-version;">
|
---|
[0eecea5] | 16 | <?dbhtml filename="intltool.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Intltool-&intltool-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="intltool">
|
---|
| 26 | <primary sortas="a-Intltool">Intltool</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Intltool</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>intltool</application> package contains an
|
---|
| 33 | internationalization tool. This is useful for extracting translatable strings
|
---|
| 34 | from source files, collecting the extracted strings with messages from
|
---|
| 35 | traditional source files (<filename class="directory"><source
|
---|
| 36 | directory>/<package>/po</filename>) and merging the translations into
|
---|
| 37 | <filename>.xml</filename>, <filename>.desktop</filename> and
|
---|
| 38 | <filename>.oaf</filename> files.</para>
|
---|
| 39 |
|
---|
| 40 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 41 | <itemizedlist spacing="compact">
|
---|
| 42 | <listitem>
|
---|
| 43 | <para>Download (HTTP): <ulink url="&intltool-download-http;"/></para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>Download (FTP): <ulink url="&intltool-download-ftp;"/></para>
|
---|
| 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
| 49 | <para>Download MD5 sum: &intltool-md5sum;</para>
|
---|
| 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
| 52 | <para>Download size: &intltool-size;</para>
|
---|
| 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
| 55 | <para>Estimated disk space required: &intltool-buildsize;</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
| 58 | <para>Estimated build time: &intltool-time;</para>
|
---|
| 59 | </listitem>
|
---|
| 60 | </itemizedlist>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect3">Intltool Dependencies</bridgehead>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 65 | <para><xref linkend="perl-modules"/>: XML-Parser</para>
|
---|
| 66 |
|
---|
| 67 | </sect2>
|
---|
| 68 |
|
---|
| 69 | <sect2 role="installation">
|
---|
| 70 | <title>Installation of Intltool</title>
|
---|
| 71 |
|
---|
| 72 | <para>Install <application>intltool</application> by running the following
|
---|
| 73 | commands:</para>
|
---|
| 74 |
|
---|
| 75 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 76 | make</userinput></screen>
|
---|
| 77 |
|
---|
| 78 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 79 |
|
---|
| 80 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2 role="content">
|
---|
| 85 | <title>Contents</title>
|
---|
| 86 |
|
---|
| 87 | <segmentedlist>
|
---|
| 88 | <segtitle>Installed Programs</segtitle>
|
---|
| 89 | <segtitle>Installed Libraries</segtitle>
|
---|
| 90 | <segtitle>Installed Directory</segtitle>
|
---|
| 91 |
|
---|
| 92 | <seglistitem>
|
---|
| 93 | <seg>intltoolize, intltool-extract, intltool-merge, intltool-prepare, and
|
---|
| 94 | intltool-update</seg>
|
---|
| 95 | <seg>None</seg>
|
---|
| 96 | <seg>/usr/share/intltool</seg>
|
---|
| 97 | </seglistitem>
|
---|
| 98 | </segmentedlist>
|
---|
| 99 |
|
---|
| 100 | <variablelist>
|
---|
| 101 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 102 | <?dbfo list-presentation="list"?>
|
---|
| 103 | <?dbhtml list-presentation="table"?>
|
---|
| 104 |
|
---|
| 105 | <varlistentry id="intltoolize">
|
---|
| 106 | <term><command>intltoolize</command></term>
|
---|
| 107 | <listitem>
|
---|
| 108 | <para>prepares a package to use
|
---|
| 109 | <application>intltool</application>.</para>
|
---|
| 110 | <indexterm zone="intltool intltoolize">
|
---|
| 111 | <primary sortas="b-intltoolize">intltoolize</primary>
|
---|
| 112 | </indexterm>
|
---|
| 113 | </listitem>
|
---|
| 114 | </varlistentry>
|
---|
| 115 |
|
---|
| 116 | <varlistentry id="intltool-extract">
|
---|
| 117 | <term><command>intltool-extract</command></term>
|
---|
| 118 | <listitem>
|
---|
| 119 | <para>generates header files that can be read by
|
---|
| 120 | <command>gettext</command>.</para>
|
---|
| 121 | <indexterm zone="intltool intltool-extract">
|
---|
| 122 | <primary sortas="b-intltool-extract">intltool-extract</primary>
|
---|
| 123 | </indexterm>
|
---|
| 124 | </listitem>
|
---|
| 125 | </varlistentry>
|
---|
| 126 |
|
---|
| 127 | <varlistentry id="intltool-merge">
|
---|
| 128 | <term><command>intltool-merge</command></term>
|
---|
| 129 | <listitem>
|
---|
| 130 | <para> merges translated strings into various file types.</para>
|
---|
| 131 | <indexterm zone="intltool intltool-merge">
|
---|
| 132 | <primary sortas="b-intltool-merge">intltool-merge</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="intltool-prepare">
|
---|
| 138 | <term><command>intltool-prepare</command></term>
|
---|
| 139 | <listitem>
|
---|
| 140 | <para>updates pot files and merges them with translation files.</para>
|
---|
| 141 | <indexterm zone="intltool intltool-prepare">
|
---|
| 142 | <primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
---|
| 143 | </indexterm>
|
---|
| 144 | </listitem>
|
---|
| 145 | </varlistentry>
|
---|
| 146 |
|
---|
| 147 | <varlistentry id="intltool-update">
|
---|
| 148 | <term><command>intltool-update</command></term>
|
---|
| 149 | <listitem>
|
---|
| 150 | <para>updates the <filename>po</filename> template files and merges
|
---|
| 151 | them with the translations.</para>
|
---|
| 152 | <indexterm zone="intltool intltool-update">
|
---|
| 153 | <primary sortas="b-intltool-update">intltool-update</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | </variablelist>
|
---|
| 159 |
|
---|
| 160 | </sect2>
|
---|
[c4e14347] | 161 |
|
---|
| 162 | </sect1>
|
---|
| 163 |
|
---|