[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 |
|
---|
[5600683] | 7 | <!ENTITY intltool-download-http "&gnome-download-http;/intltool/0.34/intltool-&intltool-version;.tar.bz2">
|
---|
| 8 | <!ENTITY intltool-download-ftp "&gnome-download-ftp;/intltool/0.34/intltool-&intltool-version;.tar.bz2">
|
---|
[350bd19] | 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>
|
---|
[52d50d5] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">intltool-&intltool-version;.tar</keyword>
|
---|
[22ac237] | 23 | <keyword role="ftpdir">intltool</keyword>
|
---|
[52d50d5] | 24 | </keywordset>
|
---|
[0eecea5] | 25 | </sect1info>
|
---|
[fc7afd0c] | 26 |
|
---|
[0eecea5] | 27 | <title>Intltool-&intltool-version;</title>
|
---|
[fc7afd0c] | 28 |
|
---|
[0eecea5] | 29 | <indexterm zone="intltool">
|
---|
| 30 | <primary sortas="a-Intltool">Intltool</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to Intltool</title>
|
---|
[fc7afd0c] | 35 |
|
---|
[8d77de6] | 36 | <para>The <application>intltool</application> package contains an
|
---|
[350bd19] | 37 | internationalization tool. This is useful for extracting translatable
|
---|
| 38 | strings from source files, collecting the extracted strings with messages
|
---|
| 39 | from traditional source files (<filename class="directory"><source
|
---|
| 40 | directory>/<package>/po</filename>) and merging the translations
|
---|
| 41 | into <filename>.xml</filename>, <filename>.desktop</filename> and
|
---|
[0eecea5] | 42 | <filename>.oaf</filename> files.</para>
|
---|
[fc7afd0c] | 43 |
|
---|
[0eecea5] | 44 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 45 | <itemizedlist spacing="compact">
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (HTTP): <ulink url="&intltool-download-http;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download (FTP): <ulink url="&intltool-download-ftp;"/></para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download MD5 sum: &intltool-md5sum;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download size: &intltool-size;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated disk space required: &intltool-buildsize;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Estimated build time: &intltool-time;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | </itemizedlist>
|
---|
[fc7afd0c] | 65 |
|
---|
[0eecea5] | 66 | <bridgehead renderas="sect3">Intltool Dependencies</bridgehead>
|
---|
[fc7afd0c] | 67 |
|
---|
[0eecea5] | 68 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[52d50d5] | 69 | <para role="required"><xref linkend="perl-xml-parser"/></para>
|
---|
[fc7afd0c] | 70 |
|
---|
[1039de3] | 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/intltool"/></para>
|
---|
| 73 |
|
---|
[0eecea5] | 74 | </sect2>
|
---|
[fc7afd0c] | 75 |
|
---|
[0eecea5] | 76 | <sect2 role="installation">
|
---|
| 77 | <title>Installation of Intltool</title>
|
---|
| 78 |
|
---|
[8d77de6] | 79 | <para>Install <application>intltool</application> by running the following
|
---|
[0eecea5] | 80 | commands:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput>./configure --prefix=/usr &&
|
---|
| 83 | make</userinput></screen>
|
---|
[fc7afd0c] | 84 |
|
---|
[94927b8a] | 85 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 86 |
|
---|
[0eecea5] | 87 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[fc7afd0c] | 88 |
|
---|
[350bd19] | 89 | <screen role="root"><userinput>make install &&
|
---|
| 90 | install -v -m644 -D doc/I18N-HOWTO \
|
---|
| 91 | /usr/share/doc/intltool-&intltool-version;/I18N-HOWTO</userinput></screen>
|
---|
[fc7afd0c] | 92 |
|
---|
[0eecea5] | 93 | </sect2>
|
---|
[fc7afd0c] | 94 |
|
---|
[0eecea5] | 95 | <sect2 role="content">
|
---|
| 96 | <title>Contents</title>
|
---|
| 97 |
|
---|
| 98 | <segmentedlist>
|
---|
| 99 | <segtitle>Installed Programs</segtitle>
|
---|
| 100 | <segtitle>Installed Libraries</segtitle>
|
---|
[350bd19] | 101 | <segtitle>Installed Directories</segtitle>
|
---|
[fc7afd0c] | 102 |
|
---|
[0eecea5] | 103 | <seglistitem>
|
---|
[8d77de6] | 104 | <seg>intltoolize, intltool-extract, intltool-merge, intltool-prepare, and
|
---|
[0eecea5] | 105 | intltool-update</seg>
|
---|
| 106 | <seg>None</seg>
|
---|
[bccbdaea] | 107 | <seg>/usr/share/intltool and
|
---|
[350bd19] | 108 | /usr/share/doc/intltool-&intltool-version;</seg>
|
---|
[0eecea5] | 109 | </seglistitem>
|
---|
| 110 | </segmentedlist>
|
---|
[fc7afd0c] | 111 |
|
---|
[0eecea5] | 112 | <variablelist>
|
---|
| 113 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 114 | <?dbfo list-presentation="list"?>
|
---|
| 115 | <?dbhtml list-presentation="table"?>
|
---|
[fc7afd0c] | 116 |
|
---|
[0eecea5] | 117 | <varlistentry id="intltoolize">
|
---|
| 118 | <term><command>intltoolize</command></term>
|
---|
| 119 | <listitem>
|
---|
[8d77de6] | 120 | <para>prepares a package to use
|
---|
[0eecea5] | 121 | <application>intltool</application>.</para>
|
---|
| 122 | <indexterm zone="intltool intltoolize">
|
---|
| 123 | <primary sortas="b-intltoolize">intltoolize</primary>
|
---|
| 124 | </indexterm>
|
---|
| 125 | </listitem>
|
---|
| 126 | </varlistentry>
|
---|
[fc7afd0c] | 127 |
|
---|
[0eecea5] | 128 | <varlistentry id="intltool-extract">
|
---|
| 129 | <term><command>intltool-extract</command></term>
|
---|
| 130 | <listitem>
|
---|
[8d77de6] | 131 | <para>generates header files that can be read by
|
---|
[0eecea5] | 132 | <command>gettext</command>.</para>
|
---|
| 133 | <indexterm zone="intltool intltool-extract">
|
---|
| 134 | <primary sortas="b-intltool-extract">intltool-extract</primary>
|
---|
| 135 | </indexterm>
|
---|
| 136 | </listitem>
|
---|
| 137 | </varlistentry>
|
---|
[fc7afd0c] | 138 |
|
---|
[0eecea5] | 139 | <varlistentry id="intltool-merge">
|
---|
| 140 | <term><command>intltool-merge</command></term>
|
---|
| 141 | <listitem>
|
---|
| 142 | <para> merges translated strings into various file types.</para>
|
---|
| 143 | <indexterm zone="intltool intltool-merge">
|
---|
| 144 | <primary sortas="b-intltool-merge">intltool-merge</primary>
|
---|
| 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
[fc7afd0c] | 148 |
|
---|
[0eecea5] | 149 | <varlistentry id="intltool-prepare">
|
---|
| 150 | <term><command>intltool-prepare</command></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>updates pot files and merges them with translation files.</para>
|
---|
| 153 | <indexterm zone="intltool intltool-prepare">
|
---|
| 154 | <primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
[fc7afd0c] | 158 |
|
---|
[0eecea5] | 159 | <varlistentry id="intltool-update">
|
---|
| 160 | <term><command>intltool-update</command></term>
|
---|
| 161 | <listitem>
|
---|
[8d77de6] | 162 | <para>updates the <filename>po</filename> template files and merges
|
---|
[0eecea5] | 163 | them with the translations.</para>
|
---|
| 164 | <indexterm zone="intltool intltool-update">
|
---|
| 165 | <primary sortas="b-intltool-update">intltool-update</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
[fc7afd0c] | 169 |
|
---|
[0eecea5] | 170 | </variablelist>
|
---|
| 171 |
|
---|
| 172 | </sect2>
|
---|
[c4e14347] | 173 |
|
---|
| 174 | </sect1>
|
---|