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. ** Patch added: "patch on ubuntu-docs bzr branch" https://bugs.edge.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/460365/+attachment/1528073/+files/translatable-legalnotice.diff -- Create a separate license document and include it in all documents https://bugs.launchpad.net/bugs/460365 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
