RE: Translation control in HTML5

Ian Hickson [mailto:ian@hixie.ch] wrote:
>> In HTML 5, this could be done with a new attribute "translate", valid on
>> all elements. Values "yes" and "no". Default is "yes".  By default
>> attributes are not translatable, alt and title remaining as exceptions.
>> HTML will not introduce new translatable attributes.
>
>How about a new keyword for "lang", instead, which means "not
>translatable" or some such? lang="computer-code" or something.

That could be done, although in some of the scenarios (like trademarks or industry terms, or addresses), I'm not sure if the original language is still actually interesting (since you'd have to replace it with the "untranslatable" one.  The logic is really a bit, somehow, on lang.

Received on Thursday, 31 July 2008 20:34:31 UTC