W3C home > Mailing lists > Public > public-i18n-its@w3.org > January to March 2006

RE: Directionality Scope/inheritance issue (same as translatability)

From: Yves Savourel <yves@opentag.com>
Date: Sat, 25 Mar 2006 07:30:10 -0700
To: <public-i18n-its@w3.org>
Message-ID: <002a01c65018$9f761130$0300a8c0@Breizh>

Felix, thanks for taking the time to write down the steps.

I'm still a bit unclear on how you apply a rule to the children of the its selection node.
For example, in the case of p[2] you have:

<p trans="false" its:translate-global-4="no">some text <code its:translate-global-2="no">code <textInCode
its:translate-global-1="yes">text in code</textInCode>code</code>.</p>

That is:

/myDoc/body/p[2]/: its:translate-global-4="no"
/myDoc/body/p[2]/code: its:translate-global-2="no"
/myDoc/body/p[2]/code/textInCode: its:translate-global-1="yes"

Which means (looking at your description for p[1]) that the content of <textInCode> would be translated.

But it's wrong since the trans='false' in <p> should overwrite it, if it is to behave like its:translate.

Am I missing something?

Received on Saturday, 25 March 2006 14:30:26 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:43:06 UTC