Support Mallard documents
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
Mallard is the new GNOME documentation format [1]. Unlike it's predecessor (docbook), it doesn't use .pot files, though it does use .po files. I'm a little curious how that would work with LP translations (I'm assuming it doesn't).
Basically, this is the layout that mallard uses, for a simple help document only translated into French and German:
help/C/index.page
help/de/de.po
help/de/index.page
help/fr/fr.po
help/fr/index.page
Mallard's autotools support (gnome-doc-utils) will generate the .po file from the source .page files.
So if I have a project with this format and I want LP to pull translations from my bzr, LP has to (1) somehow know what all the strings are from the source .page files and (2) pull/push .po files from individual directories, instead from a pooled directory like normal po/ directories. Is there any support for such a layout?
It's the same layout that was used by gnome-doc-utils, and Mallard documentation is still using it for building translations. That relies on xml2po to extract PO/POT files, so nothing is different except the XML schema. It'd be nice to support it, along with native support for other XML formats (like DocBook), but it's a lot of effort and it's not happening anytime soon.
Launchpad doesn't support that layout, unfortunately (so, it didn't work for gnome-doc-utils DocBook documentation either). They are also two separate problems: we can add import queue support for such PO directory layout independently from adding support for the actual XML format extraction.