[fdca4266] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY intltool-download-http "http://ftp.gnome.org/pub/GNOME/sources/intltool/&intltool-version;/intltool-&intltool-version;.tar.bz2">
|
---|
| 8 | <!ENTITY intltool-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/intltool/&intltool-version;/intltool-&intltool-version;.tar.bz2">
|
---|
| 9 | <!ENTITY intltool-size "112 KB">
|
---|
| 10 | <!ENTITY intltool-buildsize "1010 KB">
|
---|
| 11 | <!ENTITY intltool-time "0.00 SBU">
|
---|
| 12 |
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[c4e14347] | 15 | <sect1 id="intltool" xreflabel="intltool-&intltool-version;">
|
---|
[a0f03b0] | 16 | <sect1info>
|
---|
[5cd0959d] | 17 | <othername>$LastChangedBy$</othername>
|
---|
| 18 | <date>$Date$</date>
|
---|
[a0f03b0] | 19 | </sect1info>
|
---|
[dd3f20f0] | 20 | <?dbhtml filename="intltool.html"?>
|
---|
[c4e14347] | 21 | <title>intltool-&intltool-version;</title>
|
---|
| 22 |
|
---|
[fdca4266] | 23 | <sect2>
|
---|
| 24 | <title>Introduction to <application>intltool</application></title>
|
---|
| 25 |
|
---|
| 26 | <para>The intltool package contains an internationalization tool. This
|
---|
| 27 | is useful for extracting translatable strings from source files,
|
---|
| 28 | collecting the extracted strings with messages from traditional source
|
---|
| 29 | files (<filename class="directory"><source
|
---|
| 30 | directory>/<package>/po</filename>)
|
---|
| 31 | and merging the translations into <filename>XML</filename>,
|
---|
| 32 | <filename>.desktop</filename> and <filename>OAF</filename>
|
---|
| 33 | files.</para>
|
---|
| 34 |
|
---|
| 35 | <sect3><title>Package information</title>
|
---|
| 36 | <itemizedlist spacing='compact'>
|
---|
| 37 | <listitem><para>Download (HTTP): <ulink
|
---|
| 38 | url="&intltool-download-http;"/></para></listitem>
|
---|
| 39 | <listitem><para>Download (FTP): <ulink
|
---|
| 40 | url="&intltool-download-ftp;"/></para></listitem>
|
---|
| 41 | <listitem><para>Download size: &intltool-size;</para></listitem>
|
---|
| 42 | <listitem><para>Estimated Disk space required:
|
---|
| 43 | &intltool-buildsize;</para></listitem>
|
---|
| 44 | <listitem><para>Estimated build time:
|
---|
| 45 | &intltool-time;</para></listitem></itemizedlist>
|
---|
| 46 | </sect3>
|
---|
| 47 |
|
---|
| 48 | </sect2>
|
---|
| 49 |
|
---|
| 50 | <sect2>
|
---|
| 51 | <title>Installation of <application>intltool</application></title>
|
---|
| 52 |
|
---|
| 53 | <para>Install <application>intltool</application> by running the following commands:</para>
|
---|
| 54 |
|
---|
| 55 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
| 56 | make &&
|
---|
| 57 | make install</command></userinput></screen>
|
---|
| 58 |
|
---|
| 59 | </sect2>
|
---|
| 60 |
|
---|
| 61 | <sect2>
|
---|
| 62 | <title>Contents</title>
|
---|
| 63 |
|
---|
| 64 | <para>The <application>intltool</application> package contains
|
---|
| 65 | <command>intltoolize</command>,
|
---|
| 66 | <command>intltool-update</command>,
|
---|
| 67 | <command>intltool-extract</command>,
|
---|
| 68 | <command>intltool-merge</command>,
|
---|
| 69 | <command>intltool-prepare</command> and
|
---|
| 70 | <command>xml-i18n-toolize</command>.
|
---|
| 71 | </para>
|
---|
| 72 |
|
---|
| 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2><title>Description</title>
|
---|
| 76 |
|
---|
| 77 | <sect3><title>intltoolize</title>
|
---|
| 78 | <para><command>intltoolize</command> prepares a package to use intltool.</para></sect3>
|
---|
| 79 |
|
---|
| 80 | <sect3><title>intltool-update</title>
|
---|
| 81 | <para><command>intltool-update</command> updates the <filename>po</filename> template files
|
---|
| 82 | and merges them with the translations.</para></sect3>
|
---|
| 83 |
|
---|
| 84 | <sect3><title>intltool-extract</title>
|
---|
| 85 | <para><command>intltool-extract</command> generates header files that can be read by
|
---|
| 86 | <command>gettext</command>.</para></sect3>
|
---|
| 87 |
|
---|
| 88 | <sect3><title>intltool-merge</title>
|
---|
| 89 | <para><command>intltool-merge</command> merges translated strings into various file
|
---|
| 90 | types.</para></sect3>
|
---|
| 91 |
|
---|
| 92 | <sect3><title>intltool-prepare</title>
|
---|
| 93 | <para><command>intltool-prepare</command> updates pot files and merges them with
|
---|
| 94 | translation files.</para></sect3>
|
---|
| 95 |
|
---|
| 96 | </sect2>
|
---|
[c4e14347] | 97 |
|
---|
| 98 | </sect1>
|
---|
| 99 |
|
---|