Re: Problem with LANG keyword

Reuven Nisser wrote:
====
If it was possible to write:
<HTML LANG="HE,AR,EN">
then when you get to Hebrew characters you know exactly
that we are speaking about Hebrew and not Yiddish,
Ladino or Aramic.
====

But,
Christoph Päper wrote:
====
The solution to explicitely mark up smaller parts from
different languages than the main one of the document,
is surely better and computer friendly:

 <body lang="en"><p>
 The following are two letters in Hebrew,
 <samp lang="he">&05D0; &05D1;</samp>
 while these are three Arabic letters,
 <samp lang="ar">&0644; &0647; &062C;</samp>.
 </p></body>
====

That is your solution. <html lang="lang1,lang2,lang3"> violates the purpose of the lang attribute, which is to say what one language is inside that tag. If you change languages, you simply add another tag - as Christoph has done with the samp tag above.

It is clear to both computer and human, and adds little extra to the markup. Why is this solution a problem for you?


-Chris "SoopahMan" Moschini
http://hiveminds.info/
http://soopahman.com/

Received on Wednesday, 24 September 2003 09:32:03 UTC