intltool.xml 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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>First fix a warning that is caused by perl-5.22 and later:</para>
  34. <screen><userinput remap="pre">sed -i 's:\\\${:\\\$\\{:' intltool-update.in</userinput></screen>
  35. <para>Prepare Intltool for compilation:</para>
  36. <screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen>
  37. <para>Compile the package:</para>
  38. <screen><userinput remap="make">make</userinput></screen>
  39. <para>To test the results, issue:</para>
  40. <screen><userinput remap="test">make check</userinput></screen>
  41. <para>Install the package:</para>
  42. <screen><userinput remap="install">make install
  43. install -v -Dm644 doc/I18N-HOWTO /usr/share/doc/intltool-&intltool-version;/I18N-HOWTO</userinput></screen>
  44. </sect2>
  45. <sect2 id="contents-intltool" role="content">
  46. <title>Contents of Intltool</title>
  47. <segmentedlist>
  48. <segtitle>Installed programs</segtitle>
  49. <segtitle>Installed directories</segtitle>
  50. <seglistitem>
  51. <seg>intltool-extract, intltool-merge, intltool-prepare,
  52. intltool-update, and intltoolize</seg>
  53. <seg>/usr/share/doc/intltool-&intltool-version; and
  54. /usr/share/intltool</seg>
  55. </seglistitem>
  56. </segmentedlist>
  57. <variablelist>
  58. <bridgehead renderas="sect3">Short Descriptions</bridgehead>
  59. <?dbfo list-presentation="list"?>
  60. <?dbhtml list-presentation="table"?>
  61. <varlistentry id="intltoolize">
  62. <term><command>intltoolize</command></term>
  63. <listitem>
  64. <para>Prepares a package to use intltool</para>
  65. <indexterm zone="ch-system-intltool intltoolize">
  66. <primary sortas="b-intltoolize">intltoolize</primary>
  67. </indexterm>
  68. </listitem>
  69. </varlistentry>
  70. <varlistentry id="intltool-extract">
  71. <term><command>intltool-extract</command></term>
  72. <listitem>
  73. <para>Generates header files that can be read by <command>gettext</command></para>
  74. <indexterm zone="ch-system-intltool intltool-extract">
  75. <primary sortas="b-intltool-extract">intltool-extract</primary>
  76. </indexterm>
  77. </listitem>
  78. </varlistentry>
  79. <varlistentry id="intltool-merge">
  80. <term><command>intltool-merge</command></term>
  81. <listitem>
  82. <para>Merges translated strings into various file types</para>
  83. <indexterm zone="ch-system-intltool intltool-merge">
  84. <primary sortas="b-intltool-merge">intltool-merge</primary>
  85. </indexterm>
  86. </listitem>
  87. </varlistentry>
  88. <varlistentry id="intltool-prepare">
  89. <term><command>intltool-prepare</command></term>
  90. <listitem>
  91. <para>Updates pot files and merges them with translation files</para>
  92. <indexterm zone="ch-system-intltool intltool-prepare">
  93. <primary sortas="b-intltool-prepare">intltool-prepare</primary>
  94. </indexterm>
  95. </listitem>
  96. </varlistentry>
  97. <varlistentry id="intltool-update">
  98. <term><command>intltool-update</command></term>
  99. <listitem>
  100. <para>Updates the po template files and merges them with the translations</para>
  101. <indexterm zone="ch-system-intltool intltool-update">
  102. <primary sortas="b-intltool-update">intltool-update</primary>
  103. </indexterm>
  104. </listitem>
  105. </varlistentry>
  106. </variablelist>
  107. </sect2>
  108. </sect1>