intltool.xml 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138
  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 \
  42. /usr/share/doc/intltool-&intltool-version;/I18N-HOWTO</userinput></screen>
  43. </sect2>
  44. <sect2 id="contents-intltool" role="content">
  45. <title>Contents of Intltool</title>
  46. <segmentedlist>
  47. <segtitle>Installed program</segtitle>
  48. <segtitle>Installed directories</segtitle>
  49. <seglistitem>
  50. <seg>intltool-extract, intltool-merge, intltool-prepare,
  51. intltool-update, and intltoolize</seg>
  52. <seg>/usr/share/doc/intltool-&intltool-version;,
  53. /usr/share/intltool</seg>
  54. </seglistitem>
  55. </segmentedlist>
  56. <variablelist>
  57. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  58. <?dbfo list-presentation="list"?>
  59. <?dbhtml list-presentation="table"?>
  60. <varlistentry id="intltoolize">
  61. <term><command>intltoolize</command></term>
  62. <listitem>
  63. <para>Prepares a package to use intltool.</para>
  64. <indexterm zone="ch-system-intltool intltoolize">
  65. <primary sortas="b-intltoolize">intltoolize</primary>
  66. </indexterm>
  67. </listitem>
  68. </varlistentry>
  69. <varlistentry id="intltool-extract">
  70. <term><command>intltool-extract</command></term>
  71. <listitem>
  72. <para>Generates header files that can be read by <command>gettext</command>.</para>
  73. <indexterm zone="ch-system-intltool intltool-extract">
  74. <primary sortas="b-intltool-extract">intltool-extract</primary>
  75. </indexterm>
  76. </listitem>
  77. </varlistentry>
  78. <varlistentry id="intltool-merge">
  79. <term><command>intltool-merge</command></term>
  80. <listitem>
  81. <para>Merges translated strings into various file types.</para>
  82. <indexterm zone="ch-system-intltool intltool-merge">
  83. <primary sortas="b-intltool-merge">intltool-merge</primary>
  84. </indexterm>
  85. </listitem>
  86. </varlistentry>
  87. <varlistentry id="intltool-prepare">
  88. <term><command>intltool-prepare</command></term>
  89. <listitem>
  90. <para>Updates pot files and merges them with translation files.</para>
  91. <indexterm zone="ch-system-intltool intltool-prepare">
  92. <primary sortas="b-intltool-prepare">intltool-prepare</primary>
  93. </indexterm>
  94. </listitem>
  95. </varlistentry>
  96. <varlistentry id="intltool-update">
  97. <term><command>intltool-update</command></term>
  98. <listitem>
  99. <para>Updates the po template files and merges them with the translations.</para>
  100. <indexterm zone="ch-system-intltool intltool-update">
  101. <primary sortas="b-intltool-update">intltool-update</primary>
  102. </indexterm>
  103. </listitem>
  104. </varlistentry>
  105. </variablelist>
  106. </sect2>
  107. </sect1>