Le 02/10/2009 00:18:28, Bruno Postle a écrit :

This is a global answer for all the message from you and Yuv related to 
the documentation.

* po4a can manage the following format:
 - dia: uncompressed Dia diagrams.
  - docbook: Docbook XML.
  - guide: Gentoo Linux's xml documentation format.
  - ini: .INI format.
  - kernelhelp: Help messages of each kernel compilation option.
  - latex: LaTeX format.
  - man: Good old manual page format.
  - pod: Perl Online Documentation format.
  - sgml: either debiandoc or docbook DTD.
  - texinfo: The info page format.
  - tex: generic TeX documents (see also latex).
  - text: simple text document.
  - wml: WML documents.
  - xhtml: XHTML documents.
  - xml: generic XML documents (see also docbook).


* For the manpages:
Yes, the manpages are created mostly from the --help (all the .pod 
files). As the program in comand line arent translated by themselves, 
tranlating these manpages is better than nothing.
Obviously, a real manpage would be better...


* For the wiki:
We have tho think if the wiki format is the only needed one, or if wee 
need other output formats.

We needs 
1 - export mediawiki existing pages
2 - convert them to a user (and program) firendly format (neutral 
format)
3 - convert them to .pot/.po using po4a
4 - tranlate then (easy ;) )
5 - convert them back to the neutral format)
6 - import them in the mediawiki.



I've done some tests.

I've installed the following extension:
http://www.mediawiki.org/wiki/Extension:Wiki2xml

I used it on a mediawiki with "hugin FAQ" in it.
(Special:Wiki2XML)

After entering the name of the page and the suitable options, I get a 
docbook document.

I saved it and converted it to .po with po4a-gettexize.

I've not (yet) tested further but there is a whole gramework to deploy.

Unfortunately some of the formating is lost.

This needs further investigations

Regards

Jean-Luc

Attachment: pgpZtxPmjKRj4.pgp
Description: PGP signature

Reply via email to