1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/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-md5sum "7d3b6d421b0fb9beee7faf97daab45e6">
|
---|
10 | <!ENTITY intltool-size "126 KB">
|
---|
11 | <!ENTITY intltool-buildsize "1.5 MB">
|
---|
12 | <!ENTITY intltool-time "less than 0.1 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="intltool" xreflabel="intltool-&intltool-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="intltool.html"?>
|
---|
21 | <title>intltool-&intltool-version;</title>
|
---|
22 | <indexterm zone="intltool">
|
---|
23 | <primary sortas="a-Intltool">Intltool</primary></indexterm>
|
---|
24 |
|
---|
25 | <sect2>
|
---|
26 | <title>Introduction to <application>intltool</application></title>
|
---|
27 |
|
---|
28 | <para>The <application>intltool</application> package contains an
|
---|
29 | internationalization tool. This is useful for extracting translatable strings
|
---|
30 | from source files, collecting the extracted strings with messages from
|
---|
31 | traditional source files (<filename class="directory"><source
|
---|
32 | directory>/<package>/po</filename>) and merging the translations into
|
---|
33 | <filename>.xml</filename>, <filename>.desktop</filename> and
|
---|
34 | <filename>.oaf</filename> files.</para>
|
---|
35 |
|
---|
36 | <sect3><title>Package information</title>
|
---|
37 | <itemizedlist spacing='compact'>
|
---|
38 | <listitem><para>Download (HTTP): <ulink
|
---|
39 | url="&intltool-download-http;"/></para></listitem>
|
---|
40 | <listitem><para>Download (FTP): <ulink
|
---|
41 | url="&intltool-download-ftp;"/></para></listitem>
|
---|
42 | <listitem><para>Download MD5 sum: &intltool-md5sum;</para></listitem>
|
---|
43 | <listitem><para>Download size: &intltool-size;</para></listitem>
|
---|
44 | <listitem><para>Estimated disk space required:
|
---|
45 | &intltool-buildsize;</para></listitem>
|
---|
46 | <listitem><para>Estimated build time:
|
---|
47 | &intltool-time;</para></listitem></itemizedlist>
|
---|
48 | </sect3>
|
---|
49 |
|
---|
50 | <sect3><title><application>intltool</application> dependencies</title>
|
---|
51 | <sect4><title>Required</title>
|
---|
52 | <para><xref linkend="perl-modules"/>: XML-Parser</para>
|
---|
53 | </sect4>
|
---|
54 | </sect3>
|
---|
55 |
|
---|
56 | </sect2>
|
---|
57 |
|
---|
58 | <sect2>
|
---|
59 | <title>Installation of <application>intltool</application></title>
|
---|
60 |
|
---|
61 | <para>Install <application>intltool</application> by running the following
|
---|
62 | commands:</para>
|
---|
63 |
|
---|
64 | <screen><userinput><command>./configure --prefix=/usr &&
|
---|
65 | make</command></userinput></screen>
|
---|
66 |
|
---|
67 | <para>Now, as the root user:</para>
|
---|
68 |
|
---|
69 | <screen><userinput role='root'><command>make install</command></userinput></screen>
|
---|
70 |
|
---|
71 | </sect2>
|
---|
72 |
|
---|
73 | <sect2>
|
---|
74 | <title>Contents</title>
|
---|
75 |
|
---|
76 | <segmentedlist>
|
---|
77 | <segtitle>Installed Programs</segtitle>
|
---|
78 | <segtitle>Installed Libraries</segtitle>
|
---|
79 | <segtitle>Installed Directory</segtitle>
|
---|
80 |
|
---|
81 | <seglistitem>
|
---|
82 | <seg>intltoolize, intltool-extract, intltool-merge, intltool-prepare and
|
---|
83 | intltool-update</seg>
|
---|
84 | <seg>None</seg>
|
---|
85 | <seg>/usr/share/intltool</seg>
|
---|
86 | </seglistitem>
|
---|
87 | </segmentedlist>
|
---|
88 |
|
---|
89 | <variablelist>
|
---|
90 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
91 | <?dbfo list-presentation="list"?>
|
---|
92 |
|
---|
93 | <varlistentry id="intltoolize">
|
---|
94 | <term><command>intltoolize</command></term>
|
---|
95 | <listitem><para>prepares a package to use
|
---|
96 | <application>intltool</application>.</para>
|
---|
97 | <indexterm zone="intltool intltoolize">
|
---|
98 | <primary sortas="b-intltoolize">intltoolize</primary>
|
---|
99 | </indexterm></listitem>
|
---|
100 | </varlistentry>
|
---|
101 |
|
---|
102 | <varlistentry id="intltool-extract">
|
---|
103 | <term><command>intltool-extract</command></term>
|
---|
104 | <listitem><para>generates header files that can be read by
|
---|
105 | <command>gettext</command>.</para>
|
---|
106 | <indexterm zone="intltool intltool-extract">
|
---|
107 | <primary sortas="b-intltool-extract">intltool-extract</primary>
|
---|
108 | </indexterm></listitem>
|
---|
109 | </varlistentry>
|
---|
110 |
|
---|
111 | <varlistentry id="intltool-merge">
|
---|
112 | <term><command>intltool-merge</command></term>
|
---|
113 | <listitem><para> merges translated strings into various file types.</para>
|
---|
114 | <indexterm zone="intltool intltool-merge">
|
---|
115 | <primary sortas="b-intltool-merge">intltool-merge</primary>
|
---|
116 | </indexterm></listitem>
|
---|
117 | </varlistentry>
|
---|
118 |
|
---|
119 | <varlistentry id="intltool-prepare">
|
---|
120 | <term><command>intltool-prepare</command></term>
|
---|
121 | <listitem><para>updates pot files and merges them with translation
|
---|
122 | files.</para>
|
---|
123 | <indexterm zone="intltool intltool-prepare">
|
---|
124 | <primary sortas="b-intltool-prepare">intltool-prepare</primary>
|
---|
125 | </indexterm></listitem>
|
---|
126 | </varlistentry>
|
---|
127 |
|
---|
128 | <varlistentry id="intltool-update">
|
---|
129 | <term><command>intltool-update</command></term>
|
---|
130 | <listitem><para>updates the <filename>po</filename> template files and merges
|
---|
131 | them with the translations.</para>
|
---|
132 | <indexterm zone="intltool intltool-update">
|
---|
133 | <primary sortas="b-intltool-update">intltool-update</primary>
|
---|
134 | </indexterm></listitem>
|
---|
135 | </varlistentry>
|
---|
136 | </variablelist>
|
---|
137 |
|
---|
138 | </sect2>
|
---|
139 |
|
---|
140 | </sect1>
|
---|
141 |
|
---|