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

RE: Problem with LANG keyword

From: Rowland Shaw <Rowland.Shaw@crystaldecisions.com>
Date: Wed, 24 Sep 2003 07:12:03 -0700
Message-ID: <963A03BCAFF059488BAFF33AE5C8709701517B4E@ipsent04.crystald.net>
To: 'Reuven Nisser' <rnisser@ofek-liyladenu.org.il>
Cc: www-html@w3.org

By a similar argument though, it's obvious that a large, centred bold piece
of text is a heading, but I'd still mark it up as a <h1> (etc).

Your argument holds only for long enough that the differing languages use
different alphabets, if you had, for example, a collection of Spanish,
Italian, French and English in a document (so all using ISO-Latin-1,
assuming no euro symbols...) it's not obvious which language is which.

Perhaps a better solution for this problem, if it isn't practical to mark-up
English as English and Hebrew as Hebrew, could be to not specify a language
at all?
 

-----Original Message-----
From: Reuven Nisser [mailto:rnisser@ofek-liyladenu.org.il] 
Sent: 24 September 2003 14:50
To: Chris Moschini; www-html@w3.org
Cc: gilagh@netvision.net.il; 'shaula haitner'; Yuval Rabinovich
Subject: RE: Problem with LANG keyword


The problem is the overhead necessary to add the LANG tag in all places. If
you look at Israeli sites you will see a lot of text in English.

This is because English is an official language in Israel, many people do
not like to translate expressions from English to Hebrew because everyone
knows the English words and not the Hebrew translation.

Another reason is that most sites are trying to be bi-lingual so that both
English and Hebrew readers will find their way.

So, if W3C recommendations will include the need to add LANG attribute
whenever you use English instead of Hebrew, we will get a very strong
negative response. People will say (and they are right) that the Latin text
inside a Hebrew HTML script is obviously in English. So, if it's obvious and
technically possible to distinguish between Hebrew and English in automatic
means without the need to add LANG attribute then this is the correct way to
do so.

What is your opinion?
Reuven Nisser
Ofek Liyladenu

-----Original Message-----
From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf
Of Chris Moschini
Sent: Wednesday, September 24, 2003 3:32 PM
To: www-html@w3.org
Subject: Re: Problem with LANG keyword

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?
Received on Wednesday, 24 September 2003 10:12:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:15:58 GMT