[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 |
|
---|
[d028154] | 7 | <!ENTITY intltool-download-http "http://launchpad.net/intltool/trunk/&intltool-version;/+download/intltool-&intltool-version;.tar.gz">
|
---|
[07897b1] | 8 | <!ENTITY intltool-download-ftp " ">
|
---|
[c627795] | 9 | <!ENTITY intltool-md5sum "23fbd879118253cb99aeac067da5f591">
|
---|
| 10 | <!ENTITY intltool-size "188 KB">
|
---|
[d028154] | 11 | <!ENTITY intltool-buildsize "1.4 MB">
|
---|
[350bd19] | 12 | <!ENTITY intltool-time "less than 0.1 SBU">
|
---|
[fdca4266] | 13 | ]>
|
---|
| 14 |
|
---|
[c627795] | 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 |
|
---|
[c627795] | 32 | <para>
|
---|
[0d7900a] | 33 | The <application>Intltool</application> is an internationalization
|
---|
[c627795] | 34 | tool used for extracting translatable strings from source files,
|
---|
| 35 | collecting the extracted strings with messages from traditional
|
---|
| 36 | source files (<filename class="directory"><source
|
---|
| 37 | directory>/<package>/po</filename>) and merging the
|
---|
| 38 | translations into <filename>.xml</filename>,
|
---|
| 39 | <filename>.desktop</filename> and <filename>.oaf</filename> files.
|
---|
| 40 | </para>
|
---|
[fc7afd0c] | 41 |
|
---|
[41b674d] | 42 | &lfs75_checked;
|
---|
[66d65ea] | 43 |
|
---|
[0eecea5] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
[c627795] | 47 | <para>
|
---|
| 48 | Download (HTTP): <ulink url="&intltool-download-http;"/>
|
---|
| 49 | </para>
|
---|
[0eecea5] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[c627795] | 52 | <para>
|
---|
| 53 | Download (FTP): <ulink url="&intltool-download-ftp;"/>
|
---|
| 54 | </para>
|
---|
[0eecea5] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[c627795] | 57 | <para>
|
---|
| 58 | Download MD5 sum: &intltool-md5sum;
|
---|
| 59 | </para>
|
---|
[0eecea5] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[c627795] | 62 | <para>
|
---|
| 63 | Download size: &intltool-size;
|
---|
| 64 | </para>
|
---|
[0eecea5] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[c627795] | 67 | <para>
|
---|
| 68 | Estimated disk space required: &intltool-buildsize;
|
---|
| 69 | </para>
|
---|
[0eecea5] | 70 | </listitem>
|
---|
| 71 | <listitem>
|
---|
[c627795] | 72 | <para>
|
---|
| 73 | Estimated build time: &intltool-time;
|
---|
| 74 | </para>
|
---|
[0eecea5] | 75 | </listitem>
|
---|
| 76 | </itemizedlist>
|
---|
[fc7afd0c] | 77 |
|
---|
[0eecea5] | 78 | <bridgehead renderas="sect3">Intltool Dependencies</bridgehead>
|
---|
[fc7afd0c] | 79 |
|
---|
[0eecea5] | 80 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[c627795] | 81 | <para role="required">
|
---|
| 82 | <xref linkend="perl-xml-parser"/>
|
---|
| 83 | </para>
|
---|
[fc7afd0c] | 84 |
|
---|
[1039de3] | 85 | <para condition="html" role="usernotes">User Notes:
|
---|
[c627795] | 86 | <ulink url="&blfs-wiki;/intltool"/>
|
---|
| 87 | </para>
|
---|
[0eecea5] | 88 | </sect2>
|
---|
[fc7afd0c] | 89 |
|
---|
[0eecea5] | 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of Intltool</title>
|
---|
| 92 |
|
---|
[c627795] | 93 | <para>
|
---|
| 94 | Install <application>Intltool</application> by running the following
|
---|
| 95 | commands:
|
---|
| 96 | </para>
|
---|
[0eecea5] | 97 |
|
---|
| 98 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 99 | make</userinput></screen>
|
---|
[fc7afd0c] | 100 |
|
---|
[c627795] | 101 | <para>
|
---|
| 102 | To test the results, issue: <command>make check</command>.
|
---|
| 103 | </para>
|
---|
[94927b8a] | 104 |
|
---|
[c627795] | 105 | <para>
|
---|
| 106 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 107 | </para>
|
---|
[fc7afd0c] | 108 |
|
---|
[350bd19] | 109 | <screen role="root"><userinput>make install &&
|
---|
| 110 | install -v -m644 -D doc/I18N-HOWTO \
|
---|
| 111 | /usr/share/doc/intltool-&intltool-version;/I18N-HOWTO</userinput></screen>
|
---|
[fc7afd0c] | 112 |
|
---|
[0eecea5] | 113 | </sect2>
|
---|
[fc7afd0c] | 114 |
|
---|
[0eecea5] | 115 | <sect2 role="content">
|
---|
| 116 | <title>Contents</title>
|
---|
| 117 |
|
---|
| 118 | <segmentedlist>
|
---|
| 119 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 120 | <segtitle>Installed Libraries</segtitle>
|
---|
[350bd19] | 121 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 122 |
|
---|
[0eecea5] | 123 | <seglistitem>
|
---|
[c627795] | 124 | <seg>
|
---|
| 125 | intltool-extract, intltool-merge, intltool-prepare,
|
---|
| 126 | intltool-update and intltoolize
|
---|
| 127 | </seg>
|
---|
[c3c56b2] | 128 | <seg>
|
---|
| 129 | None
|
---|
| 130 | </seg>
|
---|
[c627795] | 131 | <seg>
|
---|
| 132 | /usr/share/doc/intltool-&intltool-version; and
|
---|
| 133 | /usr/share/intltool
|
---|
| 134 | </seg>
|
---|
[0eecea5] | 135 | </seglistitem>
|
---|
| 136 | </segmentedlist>
|
---|
[fc7afd0c] | 137 |
|
---|
[0eecea5] | 138 | <variablelist>
|
---|
| 139 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 140 | <?dbfo list-presentation="list"?>
|
---|
| 141 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 142 |
|
---|
[0eecea5] | 143 | <varlistentry id="intltoolize">
|
---|
| 144 | <term><command>intltoolize</command></term>
|
---|
| 145 | <listitem>
|
---|
[c627795] | 146 | <para>
|
---|
| 147 | prepares a package to use
|
---|
| 148 | <application>intltool</application>.
|
---|
| 149 | </para>
|
---|
[0eecea5] | 150 | <indexterm zone="intltool intltoolize">
|
---|
| 151 | <primary sortas="b-intltoolize">intltoolize</primary>
|
---|
| 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
[fc7afd0c] | 155 |
|
---|
[0eecea5] | 156 | <varlistentry id="intltool-extract">
|
---|
| 157 | <term><command>intltool-extract</command></term>
|
---|
| 158 | <listitem>
|
---|
[c627795] | 159 | <para>
|
---|
| 160 | generates header files that can be read by
|
---|
| 161 | <command>gettext</command>.
|
---|
| 162 | </para>
|
---|
[0eecea5] | 163 | <indexterm zone="intltool intltool-extract">
|
---|
| 164 | <primary sortas="b-intltool-extract">intltool-extract</primary>
|
---|
| 165 | </indexterm>
|
---|
| 166 | </listitem>
|
---|
| 167 | </varlistentry>
|
---|
[fc7afd0c] | 168 |
|
---|
[0eecea5] | 169 | <varlistentry id="intltool-merge">
|
---|
| 170 | <term><command>intltool-merge</command></term>
|
---|
| 171 | <listitem>
|
---|
[c627795] | 172 | <para>
|
---|
| 173 | merges translated strings into various file types.
|
---|
| 174 | </para>
|
---|
[0eecea5] | 175 | <indexterm zone="intltool intltool-merge">
|
---|
| 176 | <primary sortas="b-intltool-merge">intltool-merge</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
[fc7afd0c] | 180 |
|
---|
[0eecea5] | 181 | <varlistentry id="intltool-prepare">
|
---|
| 182 | <term><command>intltool-prepare</command></term>
|
---|
| 183 | <listitem>
|
---|
[c627795] | 184 | <para>
|
---|
| 185 | updates pot files and merges them with translation files.
|
---|
| 186 | </para>
|
---|
[0eecea5] | 187 | <indexterm zone="intltool intltool-prepare">
|
---|
| 188 | <primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
---|
| 189 | </indexterm>
|
---|
| 190 | </listitem>
|
---|
| 191 | </varlistentry>
|
---|
[fc7afd0c] | 192 |
|
---|
[0eecea5] | 193 | <varlistentry id="intltool-update">
|
---|
| 194 | <term><command>intltool-update</command></term>
|
---|
| 195 | <listitem>
|
---|
[c627795] | 196 | <para>
|
---|
| 197 | updates the <filename>po</filename> template files and merges
|
---|
| 198 | them with the translations.
|
---|
| 199 | </para>
|
---|
[0eecea5] | 200 | <indexterm zone="intltool intltool-update">
|
---|
| 201 | <primary sortas="b-intltool-update">intltool-update</primary>
|
---|
| 202 | </indexterm>
|
---|
| 203 | </listitem>
|
---|
| 204 | </varlistentry>
|
---|
[fc7afd0c] | 205 |
|
---|
[0eecea5] | 206 | </variablelist>
|
---|
| 207 |
|
---|
| 208 | </sect2>
|
---|
[c4e14347] | 209 |
|
---|
| 210 | </sect1>
|
---|