[bafa318] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-intltool" role="wrap">
|
---|
| 9 | <?dbhtml filename="intltool.html"?>
|
---|
| 10 |
|
---|
| 11 | <sect1info condition="script">
|
---|
| 12 | <productname>intltool</productname>
|
---|
| 13 | <productnumber>&intltool-version;</productnumber>
|
---|
| 14 | <address>&intltool-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
| 17 | <title>Intltool-&intltool-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-intltool">
|
---|
| 20 | <primary sortas="a-Intltool">Intltool</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>The Intltool is an internationalization tool used for extracting
|
---|
| 27 | translatable strings from source files.</para>
|
---|
| 28 |
|
---|
| 29 | <segmentedlist>
|
---|
| 30 | <segtitle>&buildtime;</segtitle>
|
---|
| 31 | <segtitle>&diskspace;</segtitle>
|
---|
| 32 |
|
---|
| 33 | <seglistitem>
|
---|
| 34 | <seg>&intltool-ch6-sbu;</seg>
|
---|
| 35 | <seg>&intltool-ch6-du;</seg>
|
---|
| 36 | </seglistitem>
|
---|
| 37 | </segmentedlist>
|
---|
| 38 |
|
---|
| 39 | </sect2>
|
---|
| 40 |
|
---|
| 41 | <sect2 role="installation">
|
---|
| 42 | <title>Installation of Intltool</title>
|
---|
| 43 |
|
---|
| 44 | <para>Prepare Intltool for compilation:</para>
|
---|
| 45 |
|
---|
| 46 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
| 47 |
|
---|
| 48 | <para>Compile the package:</para>
|
---|
| 49 |
|
---|
| 50 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 51 |
|
---|
| 52 | <para>To test the results, issue:</para>
|
---|
| 53 |
|
---|
| 54 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
| 55 |
|
---|
| 56 | <para>Install the package:</para>
|
---|
| 57 |
|
---|
| 58 | <screen><userinput remap="install">make install
|
---|
| 59 | install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-&intltool-version;/I18N-HOWTO</userinput></screen>
|
---|
| 60 |
|
---|
| 61 | </sect2>
|
---|
| 62 |
|
---|
| 63 | <sect2 id="contents-intltool" role="content">
|
---|
| 64 | <title>Contents of Intltool</title>
|
---|
| 65 |
|
---|
| 66 | <segmentedlist>
|
---|
[1d6f204] | 67 | <segtitle>Installed programs</segtitle>
|
---|
[bafa318] | 68 | <segtitle>Installed directories</segtitle>
|
---|
| 69 |
|
---|
| 70 | <seglistitem>
|
---|
| 71 | <seg>intltool-extract, intltool-merge, intltool-prepare,
|
---|
| 72 | intltool-update, and intltoolize</seg>
|
---|
| 73 | <seg>/usr/share/doc/intltool-&intltool-version;,
|
---|
| 74 | /usr/share/intltool</seg>
|
---|
| 75 | </seglistitem>
|
---|
| 76 | </segmentedlist>
|
---|
| 77 |
|
---|
| 78 | <variablelist>
|
---|
| 79 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 80 | <?dbfo list-presentation="list"?>
|
---|
| 81 | <?dbhtml list-presentation="table"?>
|
---|
| 82 |
|
---|
| 83 | <varlistentry id="intltoolize">
|
---|
| 84 | <term><command>intltoolize</command></term>
|
---|
| 85 | <listitem>
|
---|
| 86 | <para>Prepares a package to use intltool.</para>
|
---|
| 87 | <indexterm zone="ch-system-intltool intltoolize">
|
---|
| 88 | <primary sortas="b-intltoolize">intltoolize</primary>
|
---|
| 89 | </indexterm>
|
---|
| 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
| 92 |
|
---|
| 93 | <varlistentry id="intltool-extract">
|
---|
| 94 | <term><command>intltool-extract</command></term>
|
---|
| 95 | <listitem>
|
---|
| 96 | <para>Generates header files that can be read by <command>gettext</command>.</para>
|
---|
| 97 | <indexterm zone="ch-system-intltool intltool-extract">
|
---|
| 98 | <primary sortas="b-intltool-extract">intltool-extract</primary>
|
---|
| 99 | </indexterm>
|
---|
| 100 | </listitem>
|
---|
| 101 | </varlistentry>
|
---|
| 102 |
|
---|
| 103 | <varlistentry id="intltool-merge">
|
---|
| 104 | <term><command>intltool-merge</command></term>
|
---|
| 105 | <listitem>
|
---|
| 106 | <para>Merges translated strings into various file types.</para>
|
---|
| 107 | <indexterm zone="ch-system-intltool intltool-merge">
|
---|
| 108 | <primary sortas="b-intltool-merge">intltool-merge</primary>
|
---|
| 109 | </indexterm>
|
---|
| 110 | </listitem>
|
---|
| 111 | </varlistentry>
|
---|
| 112 |
|
---|
| 113 | <varlistentry id="intltool-prepare">
|
---|
| 114 | <term><command>intltool-prepare</command></term>
|
---|
| 115 | <listitem>
|
---|
| 116 | <para>Updates pot files and merges them with translation files.</para>
|
---|
| 117 | <indexterm zone="ch-system-intltool intltool-prepare">
|
---|
| 118 | <primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
---|
| 119 | </indexterm>
|
---|
| 120 | </listitem>
|
---|
| 121 | </varlistentry>
|
---|
| 122 |
|
---|
| 123 | <varlistentry id="intltool-update">
|
---|
| 124 | <term><command>intltool-update</command></term>
|
---|
| 125 | <listitem>
|
---|
| 126 | <para>Updates the po template files and merges them with the translations.</para>
|
---|
| 127 | <indexterm zone="ch-system-intltool intltool-update">
|
---|
| 128 | <primary sortas="b-intltool-update">intltool-update</primary>
|
---|
| 129 | </indexterm>
|
---|
| 130 | </listitem>
|
---|
| 131 | </varlistentry>
|
---|
| 132 |
|
---|
| 133 | </variablelist>
|
---|
| 134 |
|
---|
| 135 | </sect2>
|
---|
| 136 |
|
---|
| 137 | </sect1>
|
---|