[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 |
|
---|
[b6c14ed] | 44 | <para>First fix a warning that is caused by perl-5.22 and later:</para>
|
---|
| 45 |
|
---|
| 46 | <screen><userinput remap="pre">sed -i 's:\\\${:\\\$\\{:' intltool-update.in</userinput></screen>
|
---|
| 47 |
|
---|
[bafa318] | 48 | <para>Prepare Intltool for compilation:</para>
|
---|
| 49 |
|
---|
| 50 | <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
|
---|
| 51 |
|
---|
| 52 | <para>Compile the package:</para>
|
---|
| 53 |
|
---|
| 54 | <screen><userinput remap="make">make</userinput></screen>
|
---|
| 55 |
|
---|
| 56 | <para>To test the results, issue:</para>
|
---|
| 57 |
|
---|
| 58 | <screen><userinput remap="test">make check</userinput></screen>
|
---|
| 59 |
|
---|
| 60 | <para>Install the package:</para>
|
---|
| 61 |
|
---|
| 62 | <screen><userinput remap="install">make install
|
---|
| 63 | install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-&intltool-version;/I18N-HOWTO</userinput></screen>
|
---|
| 64 |
|
---|
| 65 | </sect2>
|
---|
| 66 |
|
---|
| 67 | <sect2 id="contents-intltool" role="content">
|
---|
| 68 | <title>Contents of Intltool</title>
|
---|
| 69 |
|
---|
| 70 | <segmentedlist>
|
---|
[1d6f204] | 71 | <segtitle>Installed programs</segtitle>
|
---|
[bafa318] | 72 | <segtitle>Installed directories</segtitle>
|
---|
| 73 |
|
---|
| 74 | <seglistitem>
|
---|
| 75 | <seg>intltool-extract, intltool-merge, intltool-prepare,
|
---|
| 76 | intltool-update, and intltoolize</seg>
|
---|
[7bb9fda] | 77 | <seg>/usr/share/doc/intltool-&intltool-version; and
|
---|
[bafa318] | 78 | /usr/share/intltool</seg>
|
---|
| 79 | </seglistitem>
|
---|
| 80 | </segmentedlist>
|
---|
| 81 |
|
---|
| 82 | <variablelist>
|
---|
| 83 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 84 | <?dbfo list-presentation="list"?>
|
---|
| 85 | <?dbhtml list-presentation="table"?>
|
---|
| 86 |
|
---|
| 87 | <varlistentry id="intltoolize">
|
---|
| 88 | <term><command>intltoolize</command></term>
|
---|
| 89 | <listitem>
|
---|
[afba93b] | 90 | <para>Prepares a package to use intltool</para>
|
---|
[bafa318] | 91 | <indexterm zone="ch-system-intltool intltoolize">
|
---|
| 92 | <primary sortas="b-intltoolize">intltoolize</primary>
|
---|
| 93 | </indexterm>
|
---|
| 94 | </listitem>
|
---|
| 95 | </varlistentry>
|
---|
| 96 |
|
---|
| 97 | <varlistentry id="intltool-extract">
|
---|
| 98 | <term><command>intltool-extract</command></term>
|
---|
| 99 | <listitem>
|
---|
[afba93b] | 100 | <para>Generates header files that can be read by <command>gettext</command></para>
|
---|
[bafa318] | 101 | <indexterm zone="ch-system-intltool intltool-extract">
|
---|
| 102 | <primary sortas="b-intltool-extract">intltool-extract</primary>
|
---|
| 103 | </indexterm>
|
---|
| 104 | </listitem>
|
---|
| 105 | </varlistentry>
|
---|
| 106 |
|
---|
| 107 | <varlistentry id="intltool-merge">
|
---|
| 108 | <term><command>intltool-merge</command></term>
|
---|
| 109 | <listitem>
|
---|
[afba93b] | 110 | <para>Merges translated strings into various file types</para>
|
---|
[bafa318] | 111 | <indexterm zone="ch-system-intltool intltool-merge">
|
---|
| 112 | <primary sortas="b-intltool-merge">intltool-merge</primary>
|
---|
| 113 | </indexterm>
|
---|
| 114 | </listitem>
|
---|
| 115 | </varlistentry>
|
---|
| 116 |
|
---|
| 117 | <varlistentry id="intltool-prepare">
|
---|
| 118 | <term><command>intltool-prepare</command></term>
|
---|
| 119 | <listitem>
|
---|
[afba93b] | 120 | <para>Updates pot files and merges them with translation files</para>
|
---|
[bafa318] | 121 | <indexterm zone="ch-system-intltool intltool-prepare">
|
---|
| 122 | <primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
---|
| 123 | </indexterm>
|
---|
| 124 | </listitem>
|
---|
| 125 | </varlistentry>
|
---|
| 126 |
|
---|
| 127 | <varlistentry id="intltool-update">
|
---|
| 128 | <term><command>intltool-update</command></term>
|
---|
| 129 | <listitem>
|
---|
[afba93b] | 130 | <para>Updates the po template files and merges them with the translations</para>
|
---|
[bafa318] | 131 | <indexterm zone="ch-system-intltool intltool-update">
|
---|
| 132 | <primary sortas="b-intltool-update">intltool-update</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | </variablelist>
|
---|
| 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | </sect1>
|
---|