mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
b7f8a76230
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3754 af4574ff-66df-0310-9fd7-8a98e5e911e0
142 lines
4.7 KiB
XML
142 lines
4.7 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY intltool-download-http "http://ftp.gnome.org/pub/GNOME/sources/intltool/&intltool-version;/intltool-&intltool-version;.tar.bz2">
|
|
<!ENTITY intltool-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/intltool/&intltool-version;/intltool-&intltool-version;.tar.bz2">
|
|
<!ENTITY intltool-md5sum "7d3b6d421b0fb9beee7faf97daab45e6">
|
|
<!ENTITY intltool-size "126 KB">
|
|
<!ENTITY intltool-buildsize "1.5 MB">
|
|
<!ENTITY intltool-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="intltool" xreflabel="intltool-&intltool-version;">
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
<?dbhtml filename="intltool.html"?>
|
|
<title>intltool-&intltool-version;</title>
|
|
<indexterm zone="intltool">
|
|
<primary sortas="a-Intltool">Intltool</primary></indexterm>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>intltool</application></title>
|
|
|
|
<para>The <application>intltool</application> package contains an
|
|
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
|
|
<filename>.oaf</filename> files.</para>
|
|
|
|
<sect3><title>Package information</title>
|
|
<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>
|
|
</sect3>
|
|
|
|
<sect3><title><application>intltool</application> dependencies</title>
|
|
<sect4><title>Required</title>
|
|
<para><xref linkend="perl-modules"/>: XML-Parser</para>
|
|
</sect4>
|
|
</sect3>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Installation of <application>intltool</application></title>
|
|
|
|
<para>Install <application>intltool</application> by running the following
|
|
commands:</para>
|
|
|
|
<screen><userinput><command>./configure --prefix=/usr &&
|
|
make</command></userinput></screen>
|
|
|
|
<para>Now, as the root user:</para>
|
|
|
|
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directory</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>intltoolize, intltool-extract, intltool-merge, intltool-prepare and
|
|
intltool-update</seg>
|
|
<seg>None</seg>
|
|
<seg>/usr/share/intltool</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<varlistentry id="intltoolize">
|
|
<term><command>intltoolize</command></term>
|
|
<listitem><para>prepares a package to use
|
|
<application>intltool</application>.</para>
|
|
<indexterm zone="intltool intltoolize">
|
|
<primary sortas="b-intltoolize">intltoolize</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="intltool-extract">
|
|
<term><command>intltool-extract</command></term>
|
|
<listitem><para>generates header files that can be read by
|
|
<command>gettext</command>.</para>
|
|
<indexterm zone="intltool intltool-extract">
|
|
<primary sortas="b-intltool-extract">intltool-extract</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
|
|
<varlistentry id="intltool-update">
|
|
<term><command>intltool-update</command></term>
|
|
<listitem><para>updates the <filename>po</filename> template files and merges
|
|
them with the translations.</para>
|
|
<indexterm zone="intltool intltool-update">
|
|
<primary sortas="b-intltool-update">intltool-update</primary>
|
|
</indexterm></listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|