2004-06-15 12:33:15 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-15 12:33:15 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
|
|
|
|
2006-02-09 02:51:46 +08:00
|
|
|
<!ENTITY intltool-download-http "&gnome-download-http;/intltool/0.34/intltool-&intltool-version;.tar.bz2">
|
|
|
|
<!ENTITY intltool-download-ftp "&gnome-download-ftp;/intltool/0.34/intltool-&intltool-version;.tar.bz2">
|
2005-09-09 09:33:39 +08:00
|
|
|
<!ENTITY intltool-md5sum "1a6007b4890e2801b7a8ba47f9ea6292">
|
|
|
|
<!ENTITY intltool-size "130 KB">
|
|
|
|
<!ENTITY intltool-buildsize "1.6 MB">
|
|
|
|
<!ENTITY intltool-time "less than 0.1 SBU">
|
2004-06-15 12:33:15 +08:00
|
|
|
]>
|
|
|
|
|
2002-08-24 11:02:07 +08:00
|
|
|
<sect1 id="intltool" xreflabel="intltool-&intltool-version;">
|
2005-05-02 04:52:35 +08:00
|
|
|
<?dbhtml filename="intltool.html"?>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2005-12-03 02:10:04 +08:00
|
|
|
<keywordset>
|
|
|
|
<keyword role="package">intltool-&intltool-version;.tar</keyword>
|
2005-12-09 04:34:05 +08:00
|
|
|
<keyword role="ftpdir">intltool</keyword>
|
2005-12-03 02:10:04 +08:00
|
|
|
</keywordset>
|
2005-05-02 04:52:35 +08:00
|
|
|
</sect1info>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<title>Intltool-&intltool-version;</title>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<indexterm zone="intltool">
|
|
|
|
<primary sortas="a-Intltool">Intltool</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to Intltool</title>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-31 05:34:17 +08:00
|
|
|
<para>The <application>intltool</application> package contains an
|
2005-09-09 09:33:39 +08:00
|
|
|
internationalization tool. This is useful for extracting translatable
|
|
|
|
strings from source files, collecting the extracted strings with messages
|
|
|
|
from traditional source files (<filename class="directory"><source
|
|
|
|
directory>/<package>/po</filename>) and merging the translations
|
|
|
|
into <filename>.xml</filename>, <filename>.desktop</filename> and
|
2005-05-02 04:52:35 +08:00
|
|
|
<filename>.oaf</filename> files.</para>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&intltool-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&intltool-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &intltool-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &intltool-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &intltool-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &intltool-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<bridgehead renderas="sect3">Intltool Dependencies</bridgehead>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
2005-12-03 02:10:04 +08:00
|
|
|
<para role="required"><xref linkend="perl-xml-parser"/></para>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
</sect2>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of Intltool</title>
|
|
|
|
|
2005-05-31 05:34:17 +08:00
|
|
|
<para>Install <application>intltool</application> by running the following
|
2005-05-02 04:52:35 +08:00
|
|
|
commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput>./configure --prefix=/usr &&
|
|
|
|
make</userinput></screen>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-07-09 12:57:18 +08:00
|
|
|
<para>To test the results, issue: <command>make check</command>.</para>
|
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-09-09 09:33:39 +08:00
|
|
|
<screen role="root"><userinput>make install &&
|
|
|
|
install -v -m644 -D doc/I18N-HOWTO \
|
|
|
|
/usr/share/doc/intltool-&intltool-version;/I18N-HOWTO</userinput></screen>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
</sect2>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
2005-09-09 09:33:39 +08:00
|
|
|
<segtitle>Installed Directories</segtitle>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<seglistitem>
|
2005-05-31 05:34:17 +08:00
|
|
|
<seg>intltoolize, intltool-extract, intltool-merge, intltool-prepare, and
|
2005-05-02 04:52:35 +08:00
|
|
|
intltool-update</seg>
|
|
|
|
<seg>None</seg>
|
2005-11-30 03:07:13 +08:00
|
|
|
<seg>/usr/share/intltool and
|
2005-09-09 09:33:39 +08:00
|
|
|
/usr/share/doc/intltool-&intltool-version;</seg>
|
2005-05-02 04:52:35 +08:00
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<varlistentry id="intltoolize">
|
|
|
|
<term><command>intltoolize</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:34:17 +08:00
|
|
|
<para>prepares a package to use
|
2005-05-02 04:52:35 +08:00
|
|
|
<application>intltool</application>.</para>
|
|
|
|
<indexterm zone="intltool intltoolize">
|
|
|
|
<primary sortas="b-intltoolize">intltoolize</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<varlistentry id="intltool-extract">
|
|
|
|
<term><command>intltool-extract</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:34:17 +08:00
|
|
|
<para>generates header files that can be read by
|
2005-05-02 04:52:35 +08:00
|
|
|
<command>gettext</command>.</para>
|
|
|
|
<indexterm zone="intltool intltool-extract">
|
|
|
|
<primary sortas="b-intltool-extract">intltool-extract</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<varlistentry id="intltool-merge">
|
|
|
|
<term><command>intltool-merge</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para> merges translated strings into various file types.</para>
|
|
|
|
<indexterm zone="intltool intltool-merge">
|
|
|
|
<primary sortas="b-intltool-merge">intltool-merge</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<varlistentry id="intltool-prepare">
|
|
|
|
<term><command>intltool-prepare</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>updates pot files and merges them with translation files.</para>
|
|
|
|
<indexterm zone="intltool intltool-prepare">
|
|
|
|
<primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
<varlistentry id="intltool-update">
|
|
|
|
<term><command>intltool-update</command></term>
|
|
|
|
<listitem>
|
2005-05-31 05:34:17 +08:00
|
|
|
<para>updates the <filename>po</filename> template files and merges
|
2005-05-02 04:52:35 +08:00
|
|
|
them with the translations.</para>
|
|
|
|
<indexterm zone="intltool intltool-update">
|
|
|
|
<primary sortas="b-intltool-update">intltool-update</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
2005-05-31 00:34:17 +08:00
|
|
|
|
2005-05-02 04:52:35 +08:00
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2002-08-24 11:02:07 +08:00
|
|
|
|
|
|
|
</sect1>
|