Comment 6 for bug 460365

Revision history for this message
Matthew East (mdke) wrote :

I had a go at changing the setup of ubuntu-docs so that instead of using an entity to include the legalnotice tag, each document incorporates a separate legalnotice file using xinclude. I'm attaching the (untested) patch that should do this. However the problem is that each document uses a line like this to include the separate file:

<xi:include href="../../common/C/legalnotice.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>

I have no idea how in the translated xml document, the URI path can be changed to refer to the translated xml file, so that for french it would appear like this:

<xi:include href="../../common/fr/legalnotice.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>

I've subscribed Danilo in case he has any thoughts about how xml2po could be used to solve this issue.