proposal: slight change in use of entities

Matthew East mdke at
Wed Aug 23 12:54:48 UTC 2006

Hash: SHA1


* Jordan Mantha:
> On 8/22/06, Matthew East <mdke at> wrote:
>> Do people have any thoughts on this?
> Can we put entities that would need translation (like "Ubuntu") at the
> beginning of the .xml file? Perhaps we can also have a nice docbook
> template that would include common ones. That way we can avoid the
> inclusion while still keeping some consistency.

We could, but we would also need a way (while making the pot template)
to expand those entities included in the beginning of the .xml file,
whilst keeping those entities included via our separate files (such as
global.ent). At the moment, I can't think of a way to do it. From
scanning the xmllint man page and asking the author of xml2po, I haven't
come up with a way to do this.

> Or perhaps better would be to have a script that would include/update
> a common entity section in the .xml files so that we don't have to
> maintain many copies of translatable entities.

See above.

> Or maybe it isn't a big deal and we can just strip the translatable
> one out of the .ent files and put them in the .xml directly.

I think this is the simplest solution, unless we figure out how to do
the pre-processing thing. To be honest, there aren't a lot of
translatable entities that we use, as far as I can see, and those that
we do use seem to be pretty much a waste of time, although there may be
some exceptions to that. If there are, I would have thought that we can
work around by using find/replace.


Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


More information about the ubuntu-doc mailing list