W3C home > Mailing lists > Public > www-html@w3.org > September 2003

Re: Problem with LANG keyword

From: Chris Moschini <cmoschini@myrealbox.com>
Date: Wed, 24 Sep 2003 09:32:04 -0400
To: www-html@w3.org
Message-ID: <1064410324.beb5b0e0cmoschini@myrealbox.com>

Reuven Nisser wrote:
If it was possible to write:
then when you get to Hebrew characters you know exactly
that we are speaking about Hebrew and not Yiddish,
Ladino or Aramic.

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>.

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
Received on Wednesday, 24 September 2003 09:32:03 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:06:05 UTC