Re: authoring @lang and @dir (was 3.6. The root element)

At 01:18 -0500 UTC, on 2007-08-01, Robert Burns wrote:

> On Jul 31, 2007, at 2:33 AM, Sander Tekelenburg wrote:

[...]

>>> There I think the direction is very dependent on the language.
>>> [...] Once @lang is there, @dir can be computed accordingly.

[...]

>> One language
>> can be expressed in different scripts, so can have different
>> directionalities. [...]
>> <http://en.wikipedia.org/wiki/Romanization_of_Hebrew#Modern_uses>.
[...]
>
> That is a good example. However, the RFC 3066 language codes allow
> one to specify both language and different script variants. So Hebrew
> written with the Latin script could be designated by lang='iw-
> LATN' (dir='LTR'); standard Hebrew as lang='iw' (dir='RTL'); Turkish
> as lang='tr-LATN'; and Turikish in Arabic as lang='tr-Arab' (dir='RTL').

Doesn't that merely mean that a script's directionality can be expressed
through the language code? I'm not sure how that makes it possible for an
authoring tool to deduce the scripts directon from the user providing the
content's language. (Or perhaps that's not what you meant.)


-- 
Sander Tekelenburg
The Web Repair Initiative: <http://webrepair.org/>

Received on Thursday, 2 August 2007 03:29:34 UTC