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

Hi Sebastian,

> Yves, do you have a test file I can download 
> which demonstrates how the current rules fail?

Here is one example:

<code> is normally not translatable, <textInCode> is normally translatable, and trans='true|false' behaves like
its:translate="yes|no".

<myDoc>
 <head></head>
  <body>
   <p><code>code <textInCode>text in code <code>code in text</code></textInCode></code></p>
   <p trans="false">some text <code>code <textInCode>text in code</textInCode>code</code>.</p>
   <p><code trans="true">code <textInCode trans="false">text in code <code trans="true">code in text</code></textInCode></code></p>
   <p trans="false">some text <span trans='true'>text</span> text.</p>
   <p trans="true">some text <span trans='false'>text</span> text.</p>
 </body>
</myDoc>

And you are right: we should make sure first that we are all expecting the same output. For me I expected the text marked in Xs to
be seen as translatable by ITS:

<myDoc>
 <head></head>
  <body>
   <p><code>code <textInCode>XXXX XX XXXX <code>code in text</code></textInCode></code></p>
   <p trans="false">some text <code>code <textInCode>text in code</textInCode>code</code>.</p>
   <p><code trans="true">XXXX <textInCode trans="false">text in code <code trans="true">XXXX XX XXXX</code></textInCode></code></p>
   <p trans="false">some text <span trans='true'>XXXX</span> text.</p>
   <p trans="true">XXXX XXXX <span trans='false'>text</span> XXXX.</p>
 </body>
</myDoc>


-ys

Received on Sunday, 26 March 2006 21:32:53 UTC