[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[fdca4266] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[d0f9970] | 7 | <!ENTITY intltool-download-http "&gnome-download-http;/intltool/0.35/intltool-&intltool-version;.tar.bz2">
|
---|
| 8 | <!ENTITY intltool-download-ftp "&gnome-download-ftp;/intltool/0.35/intltool-&intltool-version;.tar.bz2">
|
---|
| 9 | <!ENTITY intltool-md5sum "f52d5fa7f128db94e884cd21dd45d2e2">
|
---|
[e04b6e73] | 10 | <!ENTITY intltool-size "132 KB">
|
---|
[d0f9970] | 11 | <!ENTITY intltool-buildsize "1.5 MB">
|
---|
[350bd19] | 12 | <!ENTITY intltool-time "less than 0.1 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[fd680fb] | 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>
|
---|
[52d50d5] | 65 | <para role="required"><xref linkend="perl-xml-parser"/></para>
|
---|
[fc7afd0c] | 66 |
|
---|
[1039de3] | 67 | <para condition="html" role="usernotes">User Notes:
|
---|
| 68 | <ulink url="&blfs-wiki;/intltool"/></para>
|
---|
| 69 |
|
---|
[0eecea5] | 70 | </sect2>
|
---|
[fc7afd0c] | 71 |
|
---|
[0eecea5] | 72 | <sect2 role="installation">
|
---|
| 73 | <title>Installation of Intltool</title>
|
---|
| 74 |
|
---|
[8d77de6] | 75 | <para>Install <application>intltool</application> by running the following
|
---|
[0eecea5] | 76 | commands:</para>
|
---|
| 77 |
|
---|
| 78 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 79 | make</userinput></screen>
|
---|
[fc7afd0c] | 80 |
|
---|
[94927b8a] | 81 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 82 |
|
---|
[0eecea5] | 83 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 84 |
|
---|
[350bd19] | 85 | <screen role="root"><userinput>make install &&
|
---|
| 86 | install -v -m644 -D doc/I18N-HOWTO \
|
---|
| 87 | /usr/share/doc/intltool-&intltool-version;/I18N-HOWTO</userinput></screen>
|
---|
[fc7afd0c] | 88 |
|
---|
[0eecea5] | 89 | </sect2>
|
---|
[fc7afd0c] | 90 |
|
---|
[0eecea5] | 91 | <sect2 role="content">
|
---|
| 92 | <title>Contents</title>
|
---|
| 93 |
|
---|
| 94 | <segmentedlist>
|
---|
| 95 | <segtitle>Installed Programs</segtitle>
|
---|
| 96 | <segtitle>Installed Libraries</segtitle>
|
---|
[350bd19] | 97 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 98 |
|
---|
[0eecea5] | 99 | <seglistitem>
|
---|
[8d77de6] | 100 | <seg>intltoolize, intltool-extract, intltool-merge, intltool-prepare, and
|
---|
[0eecea5] | 101 | intltool-update</seg>
|
---|
| 102 | <seg>None</seg>
|
---|
[bccbdaea] | 103 | <seg>/usr/share/intltool and
|
---|
[350bd19] | 104 | /usr/share/doc/intltool-&intltool-version;</seg>
|
---|
[0eecea5] | 105 | </seglistitem>
|
---|
| 106 | </segmentedlist>
|
---|
[fc7afd0c] | 107 |
|
---|
[0eecea5] | 108 | <variablelist>
|
---|
| 109 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 110 | <?dbfo list-presentation="list"?>
|
---|
| 111 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 112 |
|
---|
[0eecea5] | 113 | <varlistentry id="intltoolize">
|
---|
| 114 | <term><command>intltoolize</command></term>
|
---|
| 115 | <listitem>
|
---|
[8d77de6] | 116 | <para>prepares a package to use
|
---|
[0eecea5] | 117 | <application>intltool</application>.</para>
|
---|
| 118 | <indexterm zone="intltool intltoolize">
|
---|
| 119 | <primary sortas="b-intltoolize">intltoolize</primary>
|
---|
| 120 | </indexterm>
|
---|
| 121 | </listitem>
|
---|
| 122 | </varlistentry>
|
---|
[fc7afd0c] | 123 |
|
---|
[0eecea5] | 124 | <varlistentry id="intltool-extract">
|
---|
| 125 | <term><command>intltool-extract</command></term>
|
---|
| 126 | <listitem>
|
---|
[8d77de6] | 127 | <para>generates header files that can be read by
|
---|
[0eecea5] | 128 | <command>gettext</command>.</para>
|
---|
| 129 | <indexterm zone="intltool intltool-extract">
|
---|
| 130 | <primary sortas="b-intltool-extract">intltool-extract</primary>
|
---|
| 131 | </indexterm>
|
---|
| 132 | </listitem>
|
---|
| 133 | </varlistentry>
|
---|
[fc7afd0c] | 134 |
|
---|
[0eecea5] | 135 | <varlistentry id="intltool-merge">
|
---|
| 136 | <term><command>intltool-merge</command></term>
|
---|
| 137 | <listitem>
|
---|
| 138 | <para> merges translated strings into various file types.</para>
|
---|
| 139 | <indexterm zone="intltool intltool-merge">
|
---|
| 140 | <primary sortas="b-intltool-merge">intltool-merge</primary>
|
---|
| 141 | </indexterm>
|
---|
| 142 | </listitem>
|
---|
| 143 | </varlistentry>
|
---|
[fc7afd0c] | 144 |
|
---|
[0eecea5] | 145 | <varlistentry id="intltool-prepare">
|
---|
| 146 | <term><command>intltool-prepare</command></term>
|
---|
| 147 | <listitem>
|
---|
| 148 | <para>updates pot files and merges them with translation files.</para>
|
---|
| 149 | <indexterm zone="intltool intltool-prepare">
|
---|
| 150 | <primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
---|
| 151 | </indexterm>
|
---|
| 152 | </listitem>
|
---|
| 153 | </varlistentry>
|
---|
[fc7afd0c] | 154 |
|
---|
[0eecea5] | 155 | <varlistentry id="intltool-update">
|
---|
| 156 | <term><command>intltool-update</command></term>
|
---|
| 157 | <listitem>
|
---|
[8d77de6] | 158 | <para>updates the <filename>po</filename> template files and merges
|
---|
[0eecea5] | 159 | them with the translations.</para>
|
---|
| 160 | <indexterm zone="intltool intltool-update">
|
---|
| 161 | <primary sortas="b-intltool-update">intltool-update</primary>
|
---|
| 162 | </indexterm>
|
---|
| 163 | </listitem>
|
---|
| 164 | </varlistentry>
|
---|
[fc7afd0c] | 165 |
|
---|
[0eecea5] | 166 | </variablelist>
|
---|
| 167 |
|
---|
| 168 | </sect2>
|
---|
[c4e14347] | 169 |
|
---|
| 170 | </sect1>
|
---|