[Debian-handbook-translators] Building PDF file from .po files.

Dmitry Mikhirev mikhirev at gmail.com
Tue Apr 11 14:16:44 UTC 2017


В Tue, 11 Apr 2017 15:25:37 +0200
Patrick Kox <patrick.kox at proximus.be> пишет:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> Hi all,

Hi!
> 
> Does anyone know if/how it's possible to build a PDF  (or other
> document) from a .po files?
> 
> It does not have to be in a nice format, just to read the document
> for finding errors without the distraction of the English text. Hope
> you understand what I'm trying to say ;-)

PDF (as well as HTML) cannot be built from .po files directly. First
you need to generate localized DocBook XML files and then use them to
build PDF. So you need not only .po files but the complete git repo
cloned on your machine. Then you can run

    $ publican build --formats=pdf --langs=nl-NL

in the root of the repository, and publican will do all conversions
(PO + English XML -> Dutch XML -> PDF).
> 
> Patrick
> - --
> Kind regards
> Patrick Kox
> Patrick.kox at proximus.be
> 
> Discover the Debian Administrator's Handbook:
>https://debian-handbook.info/get/
> -----BEGIN PGP SIGNATURE-----
> 
> iQJDBAEBCgAtJhxQYXRyaWNrIEtveCA8cGF0cmljay5rb3hAcHJveGltdXMuYmU+
> BQJY7NlRAAoJEJwE/btcIJW67tMP/1UB4/J5a4EQSlWX51P+hkBPxoPxrCB7+t88
> Wx0ZLmNw6jgfLUpQCCS9Pp7Xa3/Z3UpRafF4rUFtOysuWo1XSB7uxmXoOI3y71O9
> bGMcQ4Fsv8HwIYEdz5c1G0DZsO96oe3U1CesVE9/3uEoiweyjIvdtud4GIEk2S5d
> Vercue1rPVZDLzP1qP0SN6TuzuJgcxFLUaWRphPM1WCbxVigHjapF1uFpbReQH3f
> 87vsCey2zuOU0Srx6pqQcy/FIIvCyTauCCHBWDLNlprmBsxaSHnz8ubDLVdy4QIU
> 4M4LM7dZk5D8N8rGnrQ+8qGHVh/+Hl+qlSygVarvr/qUQm7XvUHJHwU7BUdEuLIt
> w+/Zls2hunwK5WmieYeMkBtUePgeX08QWx4A11q3Oh2bCuCyYEowyzft4THMkK4q
> 8G5UZD5He4Mwdu66YIFu4oBmnj1Y69BlHTL1Q7JsjKHF4O6clw2F5+mrc8q7gHAC
> E8ZofSkD4JQs0KZpzhDAm8qsBtEopyzfbZpv/jdSq90LWATpdjLDcxbZRAxmY0Hm
> tZXMwRhuhinBh50pIlaMWzoZbtFthxbvOmV2cuAFScwfIHAL6QttoXCTCFwm+KQ+
> zPAGdDziHRJYfh6eoRxQb/vD4KzOq+cAdwKu29TClzUBHeKDk/XXGUZ32MPIPQnb
> IJ6zlfiR
> =1XXJ
> -----END PGP SIGNATURE-----
> 
> 
> _______________________________________________
> Debian-handbook-translators mailing list
> Debian-handbook-translators at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-handbook-translators


-- 
Regards,
       Dmitry Mikhirev



More information about the Debian-handbook-translators mailing list