- From: Felix Sasaki <fsasaki@w3.org>
- Date: Sat, 09 Mar 2013 08:59:05 +0100
- To: "public-multilingualweb-lt@w3.org" <public-multilingualweb-lt@w3.org>
- Message-ID: <513AEBC9.1050808@w3.org>
This is relevant for issue-118. See from http://www.whatwg.org/specs/web-apps/current-work/#the-translate-attribute NOTE: above spec is not the W3C HTML spec, but the WHAT WG spec. I'm not yet sure what below change would mean for HTML5. [ When an element is in the translate-enabled state, the element's translatable attributes <http://www.whatwg.org/specs/web-apps/current-work/#translatable-attributes> and the values of its |Text <http://www.whatwg.org/specs/web-apps/current-work/#text>| node children are to be translated when the page is localized. When an element is in the no-translate state, the element's attribute values and the values of its |Text <http://www.whatwg.org/specs/web-apps/current-work/#text>| node children are to be left as-is when the page is localized, e.g. because the element contains a person's name or a the name of a computer program. The following attributes are translatable attributes: * |abbr <http://www.whatwg.org/specs/web-apps/current-work/#attr-th-abbr>| on |th <http://www.whatwg.org/specs/web-apps/current-work/#the-th-element>| elements * |alt| on |area <http://www.whatwg.org/specs/web-apps/current-work/#attr-area-alt>|, |img <http://www.whatwg.org/specs/web-apps/current-work/#attr-img-alt>|, and |input <http://www.whatwg.org/specs/web-apps/current-work/#attr-input-alt>| elements * |content <http://www.whatwg.org/specs/web-apps/current-work/#attr-meta-content>| on |meta <http://www.whatwg.org/specs/web-apps/current-work/#the-meta-element>| elements, if the |name <http://www.whatwg.org/specs/web-apps/current-work/#attr-meta-name>| attribute specifies a metadata name whose value is known to be translatable * |download| on |a| and |area| elements * |label| on |menuitem <http://www.whatwg.org/specs/web-apps/current-work/#attr-menuitem-label>|, |menu <http://www.whatwg.org/specs/web-apps/current-work/#attr-menu-label>|, |optgroup <http://www.whatwg.org/specs/web-apps/current-work/#attr-optgroup-label>|, |option <http://www.whatwg.org/specs/web-apps/current-work/#attr-option-label>|, and |label <http://www.whatwg.org/specs/web-apps/current-work/#attr-track-label>| elements * |lang <http://www.whatwg.org/specs/web-apps/current-work/#attr-lang>| on HTML elements <http://www.whatwg.org/specs/web-apps/current-work/#html-elements>; must be "translated" to match the language used in the translation * |placeholder| on |input <http://www.whatwg.org/specs/web-apps/current-work/#attr-input-placeholder>| and |textarea <http://www.whatwg.org/specs/web-apps/current-work/#attr-textarea-placeholder>| elements * |srcdoc <http://www.whatwg.org/specs/web-apps/current-work/#attr-iframe-srcdoc>| on |iframe <http://www.whatwg.org/specs/web-apps/current-work/#the-iframe-element>| elements; must be parsed and recursively processed * |style <http://www.whatwg.org/specs/web-apps/current-work/#the-style-attribute>| on HTML elements <http://www.whatwg.org/specs/web-apps/current-work/#html-elements> elements; must be parsed and recursively processed (e.g. for the values of 'content' properties) * |title <http://www.whatwg.org/specs/web-apps/current-work/#attr-title>| on all HTML elements <http://www.whatwg.org/specs/web-apps/current-work/#html-elements> elements ] -------- Original-Nachricht -------- Betreff: [Bug 21084] Clarify that only certain attributes need translation, such as alt="", title="", lang="", perhaps href="", hreflang="", but not attributes such as class=""/id=""/style="". Weitersenden-Datum: Fri, 08 Mar 2013 23:35:49 +0000 Weitersenden-Von: www-international@w3.org Datum: Fri, 08 Mar 2013 23:35:38 +0000 Von: bugzilla@jessica.w3.org An: www-international@w3.org https://www.w3.org/Bugs/Public/show_bug.cgi?id=21084 Ian 'Hixie' Hickson <ian@hixie.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |ian@hixie.ch Resolution|--- |FIXED -- You are receiving this mail because: You are on the CC list for the bug.
Received on Saturday, 9 March 2013 07:59:34 UTC