W3C home > Mailing lists > Public > public-i18n-its@w3.org > April to June 2006

[Bug 3362] method for translatability of attributes not clear

From: <bugzilla@wiggum.w3.org>
Date: Mon, 19 Jun 2006 20:17:27 +0000
To: public-i18n-its@w3.org
Message-Id: <E1FsQBb-0001LH-A5@wiggum.w3.org>


------- Comment #1 from ysavourel@translate.com  2006-06-19 20:17 -------
A to answer formally to the issue:

We do need to add examples for attributes and translatability (and makes sure
it also mention the drawbacks coming with translatable attributes).

By default, ITS conciders attributes to be *not translatable*. But, if needed,
you can specify that some are using a simple <translateRule>, the selector
attribute has simply to point to attributes. For example:

<its:translateRule selector="/@alt|//@title" translate="yes"/>

declares any alt and title attributes to be translatable.

A real example with such cases is in the ITS example for XHTML here:
Received on Monday, 19 June 2006 20:17:31 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:43:07 UTC