mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-25 07:42:13 +08:00
518538fb6d
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3244 af4574ff-66df-0310-9fd7-8a98e5e911e0
106 lines
3.6 KiB
XML
106 lines
3.6 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY intltool-download-http "http://ftp.gnome.org/pub/GNOME/sources/intltool/0.32/intltool-&intltool-version;.tar.bz2">
|
|
<!ENTITY intltool-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/intltool/0.32/intltool-&intltool-version;.tar.bz2">
|
|
<!ENTITY intltool-md5sum "b829f3d426c6a68e09196b95ba7ffa3b">
|
|
<!ENTITY intltool-size "125 KB">
|
|
<!ENTITY intltool-buildsize "1.6 MB">
|
|
<!ENTITY intltool-time "0.01 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>
|
|
|
|
<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 &&
|
|
make install</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2>
|
|
<title>Contents</title>
|
|
|
|
<para>The <application>intltool</application> package contains
|
|
<command>intltoolize</command>,
|
|
<command>intltool-update</command>,
|
|
<command>intltool-extract</command>,
|
|
<command>intltool-merge</command> and
|
|
<command>intltool-prepare</command>.</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>intltoolize</title>
|
|
<para><command>intltoolize</command> prepares a package to use
|
|
<application>intltool</application>.</para></sect3>
|
|
|
|
<sect3><title>intltool-update</title>
|
|
<para><command>intltool-update</command> updates the <filename>po</filename>
|
|
template files and merges them with the translations.</para></sect3>
|
|
|
|
<sect3><title>intltool-extract</title>
|
|
<para><command>intltool-extract</command> generates header files that can be
|
|
read by <command>gettext</command>.</para></sect3>
|
|
|
|
<sect3><title>intltool-merge</title>
|
|
<para><command>intltool-merge</command> merges translated strings into various
|
|
file types.</para></sect3>
|
|
|
|
<sect3><title>intltool-prepare</title>
|
|
<para><command>intltool-prepare</command> updates pot files and merges them
|
|
with translation files.</para></sect3>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|