Re: Adding Python GTK+ 3 Tutorial to Damned Lies
- From: Claude Paroz <claude 2xlibre net>
- To: Sebastian Pölsterl <sebp k-d-w org>, gnome-i18n gnome org
- Subject: Re: Adding Python GTK+ 3 Tutorial to Damned Lies
- Date: Sat, 21 Mar 2020 23:06:18 +0100
Hi Sebastian,
Le 20.03.20 à 12:06, Sebastian Pölsterl a écrit :
Dear translation team,
I'm the author of The Python GTK+ 3 Tutorial
(https://python-gtk-3-tutorial.readthedocs.io/) and recently was asked
whether an integration with Damned Lies is possible (see
https://github.com/sebp/PyGObject-Tutorial/issues/160). I never worked
in translation before, therefore I'm not sure what would be required to
make this happen.
The tutorial is written in reStructered text using Sphinx. While Sphinx
has support for i18n, I'm not sure whether integration into Damned Lies
is possible at all.
It is surely possible, but Damned Lies doesn't currently support the
sphinx i18n toolchain, so you'd have to provide the pot files in the
source code (and update them regularly).
Any suggestions on what be the best way forward to make it easy for
translators to contribute would highly welcome.
The sphinx toolchain is creating a po file for each subdocument, which
is good when you have big documents, less when you have smaller
documents, as this means more manipulations by translators and
coordinators. This is also taking much more space in the D-L interface.
One solution would be to merge all pot files into one, then re-splitting
the translated po files into multiple po files through msgmerge. This
would certainly require more work at Makefile level...
See https://stackoverflow.com/questions/15408348
Claude
--
www.2xlibre.net
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]