usb-creator Draft
Milo Casagrande
milo at casagrande.name
Sat Aug 15 13:04:22 UTC 2009
2009/8/15 Phil Bull <philbull at gmail.com>:
>
> I'm completely clueless about translations. Why can't we get langpack
> support for XML?
There's a kind of "workflow" problem...
We write documentation in XML, but we translate with PO files. There's
an XML -> PO process, but after that we need to have a PO -> XML
process, since what we see when we open up a document is an XML file
after all.
It's the last bit that is not automatically done, and usually gets
done at "compile time" when packaging (well... also the first bit is
manually done, but you do it once for all languages, since you create
a template file). That's why we usually have less documentation
translations updates than normal PO files translations.
The PO -> XML is also rather small compared to compiling a PO file
into its binary MO format.
To all of this, add that if we have an error on one translation (error
= wrong XML tag, translated XML tag, missing closing >), the build
process almost break and you end up having broken documentation.
--
Milo Casagrande <milo at casagrande.name>
More information about the ubuntu-doc
mailing list