[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"?>
|
---|
[fc7afd0c] | 17 |
|
---|
[0eecea5] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
[fc7afd0c] | 22 |
|
---|
[0eecea5] | 23 | <title>Intltool-&intltool-version;</title>
|
---|
[fc7afd0c] | 24 |
|
---|
[0eecea5] | 25 | <indexterm zone="intltool">
|
---|
| 26 | <primary sortas="a-Intltool">Intltool</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Intltool</title>
|
---|
[fc7afd0c] | 31 |
|
---|
[8d77de6] | 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
|
---|
[0eecea5] | 38 | <filename>.oaf</filename> files.</para>
|
---|
[fc7afd0c] | 39 |
|
---|
[0eecea5] | 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>
|
---|
[fc7afd0c] | 61 |
|
---|
[0eecea5] | 62 | <bridgehead renderas="sect3">Intltool Dependencies</bridgehead>
|
---|
[fc7afd0c] | 63 |
|
---|
[0eecea5] | 64 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 65 | <para><xref linkend="perl-modules"/>: XML-Parser</para>
|
---|
[fc7afd0c] | 66 |
|
---|
[0eecea5] | 67 | </sect2>
|
---|
[fc7afd0c] | 68 |
|
---|
[0eecea5] | 69 | <sect2 role="installation">
|
---|
| 70 | <title>Installation of Intltool</title>
|
---|
| 71 |
|
---|
[8d77de6] | 72 | <para>Install <application>intltool</application> by running the following
|
---|
[0eecea5] | 73 | commands:</para>
|
---|
| 74 |
|
---|
| 75 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 76 | make</userinput></screen>
|
---|
[fc7afd0c] | 77 |
|
---|
[94927b8a] | 78 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 79 |
|
---|
[0eecea5] | 80 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 81 |
|
---|
[0eecea5] | 82 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[fc7afd0c] | 83 |
|
---|
[0eecea5] | 84 | </sect2>
|
---|
[fc7afd0c] | 85 |
|
---|
[0eecea5] | 86 | <sect2 role="content">
|
---|
| 87 | <title>Contents</title>
|
---|
| 88 |
|
---|
| 89 | <segmentedlist>
|
---|
| 90 | <segtitle>Installed Programs</segtitle>
|
---|
| 91 | <segtitle>Installed Libraries</segtitle>
|
---|
| 92 | <segtitle>Installed Directory</segtitle>
|
---|
[fc7afd0c] | 93 |
|
---|
[0eecea5] | 94 | <seglistitem>
|
---|
[8d77de6] | 95 | <seg>intltoolize, intltool-extract, intltool-merge, intltool-prepare, and
|
---|
[0eecea5] | 96 | intltool-update</seg>
|
---|
| 97 | <seg>None</seg>
|
---|
| 98 | <seg>/usr/share/intltool</seg>
|
---|
| 99 | </seglistitem>
|
---|
| 100 | </segmentedlist>
|
---|
[fc7afd0c] | 101 |
|
---|
[0eecea5] | 102 | <variablelist>
|
---|
| 103 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 104 | <?dbfo list-presentation="list"?>
|
---|
| 105 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 106 |
|
---|
[0eecea5] | 107 | <varlistentry id="intltoolize">
|
---|
| 108 | <term><command>intltoolize</command></term>
|
---|
| 109 | <listitem>
|
---|
[8d77de6] | 110 | <para>prepares a package to use
|
---|
[0eecea5] | 111 | <application>intltool</application>.</para>
|
---|
| 112 | <indexterm zone="intltool intltoolize">
|
---|
| 113 | <primary sortas="b-intltoolize">intltoolize</primary>
|
---|
| 114 | </indexterm>
|
---|
| 115 | </listitem>
|
---|
| 116 | </varlistentry>
|
---|
[fc7afd0c] | 117 |
|
---|
[0eecea5] | 118 | <varlistentry id="intltool-extract">
|
---|
| 119 | <term><command>intltool-extract</command></term>
|
---|
| 120 | <listitem>
|
---|
[8d77de6] | 121 | <para>generates header files that can be read by
|
---|
[0eecea5] | 122 | <command>gettext</command>.</para>
|
---|
| 123 | <indexterm zone="intltool intltool-extract">
|
---|
| 124 | <primary sortas="b-intltool-extract">intltool-extract</primary>
|
---|
| 125 | </indexterm>
|
---|
| 126 | </listitem>
|
---|
| 127 | </varlistentry>
|
---|
[fc7afd0c] | 128 |
|
---|
[0eecea5] | 129 | <varlistentry id="intltool-merge">
|
---|
| 130 | <term><command>intltool-merge</command></term>
|
---|
| 131 | <listitem>
|
---|
| 132 | <para> merges translated strings into various file types.</para>
|
---|
| 133 | <indexterm zone="intltool intltool-merge">
|
---|
| 134 | <primary sortas="b-intltool-merge">intltool-merge</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
[fc7afd0c] | 138 |
|
---|
[0eecea5] | 139 | <varlistentry id="intltool-prepare">
|
---|
| 140 | <term><command>intltool-prepare</command></term>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para>updates pot files and merges them with translation files.</para>
|
---|
| 143 | <indexterm zone="intltool intltool-prepare">
|
---|
| 144 | <primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
[fc7afd0c] | 148 |
|
---|
[0eecea5] | 149 | <varlistentry id="intltool-update">
|
---|
| 150 | <term><command>intltool-update</command></term>
|
---|
| 151 | <listitem>
|
---|
[8d77de6] | 152 | <para>updates the <filename>po</filename> template files and merges
|
---|
[0eecea5] | 153 | them with the translations.</para>
|
---|
| 154 | <indexterm zone="intltool intltool-update">
|
---|
| 155 | <primary sortas="b-intltool-update">intltool-update</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
[fc7afd0c] | 159 |
|
---|
[0eecea5] | 160 | </variablelist>
|
---|
| 161 |
|
---|
| 162 | </sect2>
|
---|
[c4e14347] | 163 |
|
---|
| 164 | </sect1>
|
---|
| 165 |
|
---|