intltool.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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. <sect1 id="ch-system-intltool" role="wrap">
  8. <?dbhtml filename="intltool.html"?>
  9. <sect1info condition="script">
  10. <productname>intltool</productname>
  11. <productnumber>&intltool-version;</productnumber>
  12. <address>&intltool-url;</address>
  13. </sect1info>
  14. <title>Intltool-&intltool-version;</title>
  15. <indexterm zone="ch-system-intltool">
  16. <primary sortas="a-Intltool">Intltool</primary>
  17. </indexterm>
  18. <sect2 role="package">
  19. <title/>
  20. <para>The Intltool is an internationalization tool used for extracting
  21. translatable strings from source files.</para>
  22. <segmentedlist>
  23. <segtitle>&buildtime;</segtitle>
  24. <segtitle>&diskspace;</segtitle>
  25. <seglistitem>
  26. <seg>&intltool-ch6-sbu;</seg>
  27. <seg>&intltool-ch6-du;</seg>
  28. </seglistitem>
  29. </segmentedlist>
  30. </sect2>
  31. <sect2 role="installation">
  32. <title>Installation of Intltool</title>
  33. <para>Prepare Intltool for compilation:</para>
  34. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  35. <para>Compile the package:</para>
  36. <screen><userinput remap="make">make</userinput></screen>
  37. <para>To test the results, issue:</para>
  38. <screen><userinput remap="test">make check</userinput></screen>
  39. <para>Install the package:</para>
  40. <screen><userinput remap="install">make install
  41. install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-&intltool-version;/I18N-HOWTO</userinput></screen>
  42. </sect2>
  43. <sect2 id="contents-intltool" role="content">
  44. <title>Contents of Intltool</title>
  45. <segmentedlist>
  46. <segtitle>Installed program</segtitle>
  47. <segtitle>Installed directories</segtitle>
  48. <seglistitem>
  49. <seg>intltool-extract, intltool-merge, intltool-prepare,
  50. intltool-update, and intltoolize</seg>
  51. <seg>/usr/share/doc/intltool-&intltool-version;,
  52. /usr/share/intltool</seg>
  53. </seglistitem>
  54. </segmentedlist>
  55. <variablelist>
  56. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  57. <?dbfo list-presentation="list"?>
  58. <?dbhtml list-presentation="table"?>
  59. <varlistentry id="intltoolize">
  60. <term><command>intltoolize</command></term>
  61. <listitem>
  62. <para>Prepares a package to use intltool.</para>
  63. <indexterm zone="ch-system-intltool intltoolize">
  64. <primary sortas="b-intltoolize">intltoolize</primary>
  65. </indexterm>
  66. </listitem>
  67. </varlistentry>
  68. <varlistentry id="intltool-extract">
  69. <term><command>intltool-extract</command></term>
  70. <listitem>
  71. <para>Generates header files that can be read by <command>gettext</command>.</para>
  72. <indexterm zone="ch-system-intltool intltool-extract">
  73. <primary sortas="b-intltool-extract">intltool-extract</primary>
  74. </indexterm>
  75. </listitem>
  76. </varlistentry>
  77. <varlistentry id="intltool-merge">
  78. <term><command>intltool-merge</command></term>
  79. <listitem>
  80. <para>Merges translated strings into various file types.</para>
  81. <indexterm zone="ch-system-intltool intltool-merge">
  82. <primary sortas="b-intltool-merge">intltool-merge</primary>
  83. </indexterm>
  84. </listitem>
  85. </varlistentry>
  86. <varlistentry id="intltool-prepare">
  87. <term><command>intltool-prepare</command></term>
  88. <listitem>
  89. <para>Updates pot files and merges them with translation files.</para>
  90. <indexterm zone="ch-system-intltool intltool-prepare">
  91. <primary sortas="b-intltool-prepare">intltool-prepare</primary>
  92. </indexterm>
  93. </listitem>
  94. </varlistentry>
  95. <varlistentry id="intltool-update">
  96. <term><command>intltool-update</command></term>
  97. <listitem>
  98. <para>Updates the po template files and merges them with the translations.</para>
  99. <indexterm zone="ch-system-intltool intltool-update">
  100. <primary sortas="b-intltool-update">intltool-update</primary>
  101. </indexterm>
  102. </listitem>
  103. </varlistentry>
  104. </variablelist>
  105. </sect2>
  106. </sect1>