On Mon, Mar 24, 2025 at 06:29:35PM -0300, Jamenson Espindula wrote:
From: Colin Watson <cjwat...@debian.org>

Are you aware of po4a?  It has its problems, but it's the best tool I'm
aware of in this area.

Thank you for your reply, Colin Watson.

Yes, I am aware of the 'po4a' (PO for anything) tool. Unfortunately,
'po4a' does not gettext manpages very well. I tried to gettext the GNU
Bash manual page and 'po4a' did fail with no results at all.

I absolutely concede that it's imperfect; my experience is that it often needs some amount of fiddling on the source manual page side to get it to work (and I've never really been able to get it to work with mdoc, which is a problem). That said, my own man-db package has had its manual pages translated into 18 languages via po4a, so I just wanted to provide an existence proof that it can be done.

I'd welcome something more robust based on groff, as long as people remember to consider both sides of the problem (extraction of msgids, and reassembly of pages using msgstrs).

--
Colin Watson (he/him)                              [cjwat...@debian.org]

Reply via email to