[SSSD] [PATCH] Make manual pages translatable

Jakub Hrozek jhrozek at redhat.com
Tue Nov 30 06:42:08 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Utilizes PO4A to extract translatable strings from Docbook XML sources
and allows translators to submit ordinary .PO files. PO4A then generates
translated Docbook documents that can be used to generate translated end
user documentation.

https://fedorahosted.org/sssd/ticket/297

The second patch adds a skeleton of Czech translation I used for testing
- -- at least one man page is localized so the whole process is testable.

The general approach is based on what some of the Debian-based projects do.

I have two questions about the patch:

 * the way the patch is written now, the localized manpages (and the
respective xlm sources) are generated during every "make" invocation --
so they are always in sync. I couldn't decide it makes more sense to add
a specialized "docs" and "docsinstall" targets or something
similar..which would be trivial to do, I'm just not sure whether it's
better or worse than keeping things done with "make all".

 * the .po files are distributed, not the localized .xml sources. I
think it makes more sense since the localized .xml sources are generated
from the .po files and the original .xml sources anyway, but it would be
easy to change the distribution to .xml and only regenerate the .xml
sources when releasing a new upstream
tarball.


Thanks,
Jakub

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkz0nKwACgkQHsardTLnvCUhGQCg5AgH7VQ1NQNa5hVFaaQvf6KS
fwYAoLuLvQd52kmhlH5gFNlQbDM35VbM
=DFJj
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-manual-pages-translatable.patch
Type: text/x-patch
Size: 8892 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101130/5605f4e5/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-Czech-translation.patch.tar.gz
Type: application/x-gzip
Size: 49058 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101130/5605f4e5/attachment.gz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-manual-pages-translatable.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101130/5605f4e5/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Add-Czech-translation.patch.tar.gz.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20101130/5605f4e5/attachment-0001.sig>


More information about the sssd-devel mailing list