mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 04:52:12 +08:00
fdca426642
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2325 af4574ff-66df-0310-9fd7-8a98e5e911e0
96 lines
3.2 KiB
XML
96 lines
3.2 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/&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-size "112 KB">
|
|
<!ENTITY intltool-buildsize "1010 KB">
|
|
<!ENTITY intltool-time "0.00 SBU">
|
|
|
|
]>
|
|
|
|
<sect1 id="intltool" xreflabel="intltool-&intltool-version;">
|
|
<?dbhtml filename="intltool.html"?>
|
|
<title>intltool-&intltool-version;</title>
|
|
|
|
<sect2>
|
|
<title>Introduction to <application>intltool</application></title>
|
|
|
|
<para>The intltool 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 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>
|
|
|
|
</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>,
|
|
<command>intltool-prepare</command> and
|
|
<command>xml-i18n-toolize</command>.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
<sect3><title>intltoolize</title>
|
|
<para><command>intltoolize</command> prepares a package to use intltool.</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>
|
|
|