[Bug 12417] HTML5 is missing attribute for specifying translatability of content

https://www.w3.org/Bugs/Public/show_bug.cgi?id=12417

--- Comment #81 from Jirka Kosek <jirka@kosek.cz> 2012-02-07 08:45:01 UTC ---
(In reply to comment #80)
> Checked in as WHATWG revision r6971.
> Check-in comment: Introduce a new global attribute for localisers to tell
> whether or not content should be translated.
> http://html5.org/tools/web-apps-tracker?from=6970&to=6971

Hi Ian, thanks for fix.

There is probably missing < in your commit source before code start tag near
"Otherwise, the element's ****code title="attr-translate">translate
attribute..."

Also I think it would be more reasonable to replace:

"When an element is in the translate-enabled state, the element's attribute
values and the values of its Text node children are to be translated when the
page is localized."

with

"When an element is in the translate-enabled state, the element's attribute
values *of type Text* and the values of its Text node children are to be
translated when the page is localized."

The rationale is that it doesn't make much sense to label attributes like class
or id as translateable. Of course some attributes of Text type are also not
translateable by nature, but at least this definition is closer to reality.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 7 February 2012 08:47:05 UTC