2014-01-19 05:39:42 +01:00
|
|
|
po4a - Versatile PO to/from other documentation formats converter
|
|
|
|
|
|
|
|
po4a (PO for anything) eases translations and their maintenance,
|
|
|
|
allowing gettext's usage on unexpected areas like documentation.
|
|
|
|
|
|
|
|
In po4a each documentation format is handled by a module, that
|
2015-10-09 19:44:48 +02:00
|
|
|
converts this format to/from PO. Formats included in po4a-0.47 are:
|
|
|
|
AsciiDoc, BibTex, Dia, Halibut, KernelHelp, LaTeX, Man, POD, SGML, TeX,
|
2018-12-14 05:38:05 +01:00
|
|
|
Texinfo, Text, WML, XHTML, XML, Yaml
|
2014-01-19 05:39:42 +01:00
|
|
|
|
|
|
|
man pages are encoded in UTF-8. To read them in other languages than English,
|
|
|
|
do this for instance:
|
|
|
|
LANG=ru_RU.utf8 GROFF_ENCODING=utf8 man <man page>
|
|
|
|
|
|
|
|
WARNING: run po4a.SlackBuild as root (su -) not with only root privileges
|
|
|
|
(su), otherwise test #24 will fail.
|
|
|
|
|
|
|
|
Dependencies tree is as follows (all dependencies listed are available at
|
|
|
|
http://slackbuilds.org).
|
|
|
|
|
2015-10-09 19:44:48 +02:00
|
|
|
Po4a-0.47
|
2014-01-19 05:39:42 +01:00
|
|
|
|
|
2015-10-09 19:44:48 +02:00
|
|
|
|-- perl-Module-Build
|
2018-12-14 05:38:05 +01:00
|
|
|
|-- perl-YAML-Tiny. mandatory for the YAML module.
|
2014-01-19 05:39:42 +01:00
|
|
|
|-- perl-text-WrapI18N to format po4a's warnings and error messages. Optional.
|
|
|
|
| |-- Text::CharWidth. Mandatory
|
|
|
|
|-- perl-Unicode-LineBreak, includes module Unicode::GCString to compute
|
|
|
|
text width, neeeded by AsciiDoc to determine two line titles in
|
|
|
|
encodings different from ASCII. Mandatory for TEXT module.
|
|
|
|
|-- perl-MIME-Charset. Mandatory
|
|
|
|
|-- perl-Encode-EUCJPASCII. Optional
|
|
|
|
|-- perl-Encode-HanExtra. Optional.
|
|
|
|
|-- perl-Encode-JISX0213. Optional
|
|
|
|
|-- perl-Encode-ISO2022. Mandatory
|