Ubuntuguide.org translations

Matthew east matthew.east.ubuntu at breathe.com
Wed May 18 18:50:39 UTC 2005


On Wed, 2005-05-18 at 19:02 +0100, Matthew east wrote:
> > Have had a cursory glance around the internet 
> > (http://opensource.bureau-cornavin.com/html2pot-po2html/index.html): looks 
> > easy to do. Seems like the important thing is to have an XHTML compliant 
> > webpage. I've checked and ubuntuguide seems to comply already :D We might 
> > have to cut the css out too (not sure). If that were to be done, it should 
> > be fairly easy to convert it to a .pot file ready for translation :) At the 
> > very least, this will help the people translating the guide right now, and 
> > maybe it would even allow us to get the guide into Rosetta. 
> 
> update on this. bleh, its not going brilliantly: I've tried the
> gnome-doc-utils converter (segmentation fault, bug filed), the kde
> converter (only converted the headers), and translate-toolkit
> (http://translate.sourceforge.net/). The last of these is the only one
> which has done a full conversion, but sadly it doesn't seem to handle
> xhtml properly and it hasn't converted most of the tags!
> 
> So far, no good :/ But I'll keep trying! My best hope is the second one
> to be honest.

Sean helped me a lot to understand what is going wrong here.

Here are the results of my investigations:

Because the doc is not strict xhtml compliant (it is transitional
xhtml), the conversion to .pot is not really possible. 

The ONLY solution is to have the doc in strict xhtml/xml docbook, in
which case the transfer to a .pot file and to Rosetta would be _really_
easy. The only thing I can hope is that future releases of UbuntuGuide
will be done in that way, unless somebody is prepared to port the guide
to xml.

Yet another reason to have us collaborating better on this! :( As it is,
the translations will have to be done manually.

Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20050518/deafc175/attachment.pgp>


More information about the ubuntu-doc mailing list