[Bug 3362] method for translatability of attributes not clear

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3362





------- 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:
<http://www.w3.org/TR/xml-i18n-bp/#relating-its-plus-xhtml>

Received on Monday, 19 June 2006 20:17:31 UTC