- From: CVS User fsasaki <cvsmail@w3.org>
- Date: Thu, 13 Jun 2013 21:41:34 +0000
- To: public-multilingualweb-lt-commits@w3.org
Update of /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20 In directory gil:/tmp/cvs-serv30196 Modified Files: its20-for-editing-sec1-sec2.odd its20.html its20.odd Log Message: typos, see http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2013Jun/0046.html and http://lists.w3.org/Archives/Public/public-multilingualweb-lt/2013Jun/0048.html --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20-for-editing-sec1-sec2.odd 2013/06/11 21:55:27 1.22 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20-for-editing-sec1-sec2.odd 2013/06/13 21:41:34 1.23 @@ -328,7 +328,7 @@ (normative). Since one major step from ITS 1.0 to ITS 2.0 relates to coverage for HTML, ITS 2.0 also establishes a relationship between ITS markup and the various HTML flavors. Furthermore, ITS 2.0 suggests when and how to leverage processing based on the XML Localization Interchange File Format (<ptr target="#xliff1.2" type="bibref"/> and <ptr target="#xliff2.0" type="bibref"/>), as well as the Natural Language Processing Interchange Format <ptr target="#nif-reference" type="bibref"/>.</p> - <p>For the purpose of an introductory illustration, here is a serious of examples related to the question, how ITS can indicate that certain parts of a document must not be translated.</p> + <p>For the purpose of an introductory illustration, here is a series of examples related to the question, how ITS can indicate that certain parts of a document must not be translated.</p> <exemplum xml:id="EX-motivation-its-1"> <head>Document in which some content must not be translated</head> --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2013/06/13 02:51:33 1.445 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.html 2013/06/13 21:41:34 1.446 @@ -1649,7 +1649,7 @@ global rules, or locally on an individual element. Handling of inheritance and interaction between elements and attributes is different for XML content versus <a title="HTML5" href="#html5" shape="rect">[HTML5]</a> content.</p><p>For XML: for elements, the data category information <a href="#def-inheritance" shape="rect">inherits</a> to the textual content of the element, <em>including</em> child elements, but <em>excluding</em> - attributes. The default is that elements are translatable and attributes are not.</p><p id="html5-translate-handling">For HTML: The interpretation of the <code class="its-attr-markup">translate</code> attribute is given in <a href="http://www.w3.org/TR/html51/dom.html#the-translate-attribute" shape="rect">HTML5</a>. Nodes in an HTML documented selected via a <a href="#translate-global" shape="rect">global rule</a> are also interpreted following <a href="http://www.w3.org/TR/html51/dom.html#the-translate-attribute" shape="rect">HTML5</a>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>As of writing, the default in <a title="HTML5" href="#html5" shape="rect">[HTML5]</a> is that elements are translatable, and that translatable attributes inherit from the respective elements. There is pre-defined list of translatable attributes, for example <code>alt</code> or <code>title</code>.</p><p>Since the <a title="HTML5" href="#html5" shape="rect">[HTML5]</a> definition also applies to nodes seected via global rules, a <code class="its-elem-markup">translateRule</code> like + attributes. The default is that elements are translatable and attributes are not.</p><p id="html5-translate-handling">For HTML: The interpretation of the <code class="its-attr-markup">translate</code> attribute is given in <a href="http://www.w3.org/TR/html51/dom.html#the-translate-attribute" shape="rect">HTML5</a>. Nodes in an HTML document selected via a <a href="#translate-global" shape="rect">global rule</a> are also interpreted following <a href="http://www.w3.org/TR/html51/dom.html#the-translate-attribute" shape="rect">HTML5</a>.</p><div class="note"><p class="prefix"><b>Note:</b></p><p>As of writing, the default in <a title="HTML5" href="#html5" shape="rect">[HTML5]</a> is that elements are translatable, and that translatable attributes inherit from the respective elements. There is a pre-defined list of translatable attributes, for example <code>alt</code> or <code>title</code>.</p><p>Since the <a title="HTML5" href="#html5" shape="rect">[HTML5]</a> definition also applies to nodes seected via global rules, a <code class="its-elem-markup">translateRule</code> like <code><its:translateRule selector=""//h:img" translate="yes"/></code> will set the <code>img</code> element and its translatable attributes like <code>alt</code> to "yes".</p></div><p id="translate-global">GLOBAL: The <code class="its-elem-markup">translateRule</code> element contains the following:</p><ul><li><p>A required <code class="its-attr-markup">selector</code> attribute. It contains an <a href="#selectors" shape="rect">absolute selector</a> that selects the nodes to which this rule applies.</p></li><li><p>A required <code class="its-attr-markup">translate</code> attribute with the value --- /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2013/06/13 02:51:34 1.446 +++ /w3ccvs/WWW/International/multilingualweb/lt/drafts/its20/its20.odd 2013/06/13 21:41:34 1.447 @@ -2445,8 +2445,8 @@ information <ref target="#def-inheritance">inherits</ref> to the textual content of the element, <emph>including</emph> child elements, but <emph>excluding</emph> attributes. The default is that elements are translatable and attributes are not.</p> - <p xml:id="html5-translate-handling">For HTML: The interpretation of the <att>translate</att> attribute is given in <ref target="http://www.w3.org/TR/html51/dom.html#the-translate-attribute">HTML5</ref>. Nodes in an HTML documented selected via a <ref target="#translate-global">global rule</ref> are also interpreted following <ref target="http://www.w3.org/TR/html51/dom.html#the-translate-attribute">HTML5</ref>.</p> - <note><p>As of writing, the default in <ptr target="#html5" type="bibref"/> is that elements are translatable, and that translatable attributes inherit from the respective elements. There is pre-defined list of translatable attributes, for example <code>alt</code> or <code>title</code>.</p> + <p xml:id="html5-translate-handling">For HTML: The interpretation of the <att>translate</att> attribute is given in <ref target="http://www.w3.org/TR/html51/dom.html#the-translate-attribute">HTML5</ref>. Nodes in an HTML document selected via a <ref target="#translate-global">global rule</ref> are also interpreted following <ref target="http://www.w3.org/TR/html51/dom.html#the-translate-attribute">HTML5</ref>.</p> + <note><p>As of writing, the default in <ptr target="#html5" type="bibref"/> is that elements are translatable, and that translatable attributes inherit from the respective elements. There is a pre-defined list of translatable attributes, for example <code>alt</code> or <code>title</code>.</p> <p>Since the <ptr target="#html5" type="bibref"/> definition also applies to nodes selected via global rules, a <gi>translateRule</gi> like <code><its:translateRule selector=""//h:img" translate="yes"/></code> will set the <code>img</code> element and its translatable attributes like <code>alt</code> to <val>yes</val>.</p></note> <p xml:id="translate-global">GLOBAL: The <gi>translateRule</gi> element contains the
Received on Thursday, 13 June 2013 21:41:36 UTC