Question about <ulink url="&wiki-filepermissions; "> (and similar)

Matthew East mdke at ubuntu.com
Fri Sep 29 21:21:00 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm going to reply to both Micah and Milo's messages together.

* Milo Casagrande:
> Il giorno mer, 13/09/2006 alle 11.21 -0700, Micah J. Cowan ha scritto:
>> I note that (for example) the en_GB version of the desktopguide
>> overwrites that entity with it's own value (which happens to be the
>> same). In fact, though the en version defines an entity reference for
>> global.ent, it never /uses/ it, so those values are never included.

That behaviour should have changed in Edgy. We've modified the way we
use entities in translations.

>> If, instead of changing each occurance of &wiki-[whateverpage] to a
>> specific URI, you change/add an entity declaration for wiki-whateverpage
>> to be defined as that URI, then you only have to change it in one place.
> 
> This would mean inserting ono or more new entries in the global.ent file
> and sendig a patch.
> To the doc guys: can I do that? Creating a section for <!-- ITALIAN URL
> RESOURCES --> with new entity like "it-wiki-[whateverpage]" or is it too
> late for such a modification?

If you want to localise a particular URI, simply replace the entity with
the full URI you want it to point to. So:

<ulink url="&wiki-filepermissions;">

will become:

<ulink url="http://wiki.ubuntu-it.org/PermessiFile">

Hope this helps.

Matt
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFHY47tSaF0w5rBv8RAv6ZAJ9ikkv294gHKbjIODWHXwNAeMfvIACfTSCO
VtylfElq28bQrAnku7LmGVk=
=PrZM
-----END PGP SIGNATURE-----





More information about the ubuntu-doc mailing list