gettext-desc.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <sect2><title>Contents of Gettext-&gettext-contversion;</title>
  2. <sect3><title>Program Files</title>
  3. <para>gettext, gettextize, msgcmp, msgcomm, msgfmt, msgmerge, msgunfmt,
  4. ngettext and xgettext</para></sect3>
  5. <sect3><title>Descriptions</title>
  6. <sect4><title>gettext</title>
  7. <para>The gettext package is used for internationalization (also known as
  8. i18n) and for localization (also known as l10n). Programs can be
  9. compiled with Native Language Support (NLS) which enable them to output
  10. messages in the users native language rather than in the default English
  11. language.</para></sect4>
  12. <sect4><title>gettextize</title>
  13. <para>The gettextize program copies all standard gettext files into a
  14. directory. It's used to make a package with gettext translations.</para></sect4>
  15. <sect4><title>msgcmp</title>
  16. <para>The msgcmp program compares two raw translation files.</para></sect4>
  17. <sect4><title>msgcomm</title>
  18. <para>The msgcomm program searches messages which appear in several .po
  19. files. It's used to compare how things are translated.</para></sect4>
  20. <sect4><title>msgfmt</title>
  21. <para>The msgfmt program compiles raw translation into machine code. It's
  22. used to create the final program/package translation file.</para></sect4>
  23. <sect4><title>msgmerge</title>
  24. <para>The msgmerge program combines two raw translations into one file.
  25. It's used to update the raw translation with the source extract.</para></sect4>
  26. <sect4><title>msgunfmt</title>
  27. <para>The msgunfmt program decompiles translation files into raw
  28. translation text. It can only be used if the compiled versions are
  29. available.</para></sect4>
  30. <sect4><title>ngettext</title>
  31. <para>The ngettext program displays native language translations of a
  32. textual message whose grammatical form depends on a number.</para></sect4>
  33. <sect4><title>xgettext</title>
  34. <para>The xgettext program extracts the message lines from the programmers' C
  35. files. It's used to make the first translation template.</para></sect4>
  36. </sect3>
  37. </sect2>