Hello po4a maintainers,
I'm Helge and I'm helping Mario to maintain the translation machinery
of manpages-l10n.
Recently several po4a tools started emitting warnings and ceased
working as before. I read that "po4a" is the way to go, however, we
seriously lack the man power (and knowledge) to rewrite the entire
machinery. However, I'm gradully trying to improve the system where
and when possible.
For this, I have the follwing question:
Given that I have a man page (in nroff or mdoc format) and I want to
create a pot file from it (not po file, as this page is not yet
translated). How is this done best/correctly?
Quite a few explanations in the po4a man pages assume you already have
some translated text.
Currently I use something like:
po4a-updatepo -f man \
--option groff_code=verbatim \
--option generated \
--option untranslated="a.RE,\|" \
--option unknown_macros=untranslated \
--master "$upstream_manpage" -M utf-8 \
-p $tmp1 | grep -v "po4a-updatepo is deprecated. The unified po4a(1) program
is more convenient and less error prone."
(Until very recently this used po4a-gettextize, but this stopped working)
Thanks for any hints / pointers.
Greetings
Helge
--
Dr. Helge Kreutzmann debian(a)helgefjell.de
Dipl.-Phys.
http://www.helgefjell.de/debian.php
64bit GNU powered gpg signed mail preferred
Help keep free software "libre":
http://www.ffii.de/