[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 |
|
---|
[350bd19] | 7 | <!ENTITY intltool-download-http "http://ftp.gnome.org/pub/GNOME/sources/intltool/0.34/intltool-&intltool-version;.tar.bz2">
|
---|
| 8 | <!ENTITY intltool-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/intltool/0.34/intltool-&intltool-version;.tar.bz2">
|
---|
| 9 | <!ENTITY intltool-md5sum "1a6007b4890e2801b7a8ba47f9ea6292">
|
---|
| 10 | <!ENTITY intltool-size "130 KB">
|
---|
| 11 | <!ENTITY intltool-buildsize "1.6 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
|
---|
[350bd19] | 33 | internationalization tool. This is useful for extracting translatable
|
---|
| 34 | strings from source files, collecting the extracted strings with messages
|
---|
| 35 | from traditional source files (<filename class="directory"><source
|
---|
| 36 | directory>/<package>/po</filename>) and merging the translations
|
---|
| 37 | into <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>
|
---|
[ba4b31cf] | 65 | <para><xref linkend="perl-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 |
|
---|
[350bd19] | 82 | <screen role="root"><userinput>make install &&
|
---|
| 83 | install -v -m644 -D doc/I18N-HOWTO \
|
---|
| 84 | /usr/share/doc/intltool-&intltool-version;/I18N-HOWTO</userinput></screen>
|
---|
[fc7afd0c] | 85 |
|
---|
[0eecea5] | 86 | </sect2>
|
---|
[fc7afd0c] | 87 |
|
---|
[0eecea5] | 88 | <sect2 role="content">
|
---|
| 89 | <title>Contents</title>
|
---|
| 90 |
|
---|
| 91 | <segmentedlist>
|
---|
| 92 | <segtitle>Installed Programs</segtitle>
|
---|
| 93 | <segtitle>Installed Libraries</segtitle>
|
---|
[350bd19] | 94 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 95 |
|
---|
[0eecea5] | 96 | <seglistitem>
|
---|
[8d77de6] | 97 | <seg>intltoolize, intltool-extract, intltool-merge, intltool-prepare, and
|
---|
[0eecea5] | 98 | intltool-update</seg>
|
---|
| 99 | <seg>None</seg>
|
---|
[350bd19] | 100 | <seg>/usr/share/intltool and
|
---|
| 101 | /usr/share/doc/intltool-&intltool-version;</seg>
|
---|
[0eecea5] | 102 | </seglistitem>
|
---|
| 103 | </segmentedlist>
|
---|
[fc7afd0c] | 104 |
|
---|
[0eecea5] | 105 | <variablelist>
|
---|
| 106 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 107 | <?dbfo list-presentation="list"?>
|
---|
| 108 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 109 |
|
---|
[0eecea5] | 110 | <varlistentry id="intltoolize">
|
---|
| 111 | <term><command>intltoolize</command></term>
|
---|
| 112 | <listitem>
|
---|
[8d77de6] | 113 | <para>prepares a package to use
|
---|
[0eecea5] | 114 | <application>intltool</application>.</para>
|
---|
| 115 | <indexterm zone="intltool intltoolize">
|
---|
| 116 | <primary sortas="b-intltoolize">intltoolize</primary>
|
---|
| 117 | </indexterm>
|
---|
| 118 | </listitem>
|
---|
| 119 | </varlistentry>
|
---|
[fc7afd0c] | 120 |
|
---|
[0eecea5] | 121 | <varlistentry id="intltool-extract">
|
---|
| 122 | <term><command>intltool-extract</command></term>
|
---|
| 123 | <listitem>
|
---|
[8d77de6] | 124 | <para>generates header files that can be read by
|
---|
[0eecea5] | 125 | <command>gettext</command>.</para>
|
---|
| 126 | <indexterm zone="intltool intltool-extract">
|
---|
| 127 | <primary sortas="b-intltool-extract">intltool-extract</primary>
|
---|
| 128 | </indexterm>
|
---|
| 129 | </listitem>
|
---|
| 130 | </varlistentry>
|
---|
[fc7afd0c] | 131 |
|
---|
[0eecea5] | 132 | <varlistentry id="intltool-merge">
|
---|
| 133 | <term><command>intltool-merge</command></term>
|
---|
| 134 | <listitem>
|
---|
| 135 | <para> merges translated strings into various file types.</para>
|
---|
| 136 | <indexterm zone="intltool intltool-merge">
|
---|
| 137 | <primary sortas="b-intltool-merge">intltool-merge</primary>
|
---|
| 138 | </indexterm>
|
---|
| 139 | </listitem>
|
---|
| 140 | </varlistentry>
|
---|
[fc7afd0c] | 141 |
|
---|
[0eecea5] | 142 | <varlistentry id="intltool-prepare">
|
---|
| 143 | <term><command>intltool-prepare</command></term>
|
---|
| 144 | <listitem>
|
---|
| 145 | <para>updates pot files and merges them with translation files.</para>
|
---|
| 146 | <indexterm zone="intltool intltool-prepare">
|
---|
| 147 | <primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
---|
| 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
[fc7afd0c] | 151 |
|
---|
[0eecea5] | 152 | <varlistentry id="intltool-update">
|
---|
| 153 | <term><command>intltool-update</command></term>
|
---|
| 154 | <listitem>
|
---|
[8d77de6] | 155 | <para>updates the <filename>po</filename> template files and merges
|
---|
[0eecea5] | 156 | them with the translations.</para>
|
---|
| 157 | <indexterm zone="intltool intltool-update">
|
---|
| 158 | <primary sortas="b-intltool-update">intltool-update</primary>
|
---|
| 159 | </indexterm>
|
---|
| 160 | </listitem>
|
---|
| 161 | </varlistentry>
|
---|
[fc7afd0c] | 162 |
|
---|
[0eecea5] | 163 | </variablelist>
|
---|
| 164 |
|
---|
| 165 | </sect2>
|
---|
[c4e14347] | 166 |
|
---|
| 167 | </sect1>
|
---|