W3C home > Mailing lists > Public > public-i18n-geo@w3.org > June 2004

FW: FAQ: Why should I use the 'lang' attribute?

From: Deborah Cawkwell <deborah.cawkwell@bbc.co.uk>
Date: Wed, 23 Jun 2004 14:12:39 +0100
Message-ID: <418B7E44473AC34488C9E730D09FF3CF027F8C9F@bbcxue204.national.core.bbc.co.uk>
To: "W3C I18N GEO" <public-i18n-geo@w3.org>
Cc: "Najib Tounsi" <ntounsi@emi.ac.ma>
Hi Najib
 
Does the section of the FAQ below not provide information about applying natural language information to sub-elements within a web page/resource:
 
"The language attribute unambiguously specifies the 'natural language' of web page content. It should always be used to indicate the primary language of the web page (in the main page container element). If the language changes within the main page container element this should be reflected in a sub container element, eg., span, div, td, p, etc."
 
Best
 
Deborah

		-----Original Message----- 
		From: Najib Tounsi [mailto:ntounsi@emi.ac.ma] 
		Sent: Tue 22/06/2004 20:25 
		To: Deborah Cawkwell 
		Cc: 
		Subject: Re: FAQ: Why should I use the 'lang' attribute?
		
		

		Deborah Cawkwell wrote:
		
		>Yes can see it now.
		>Want to open up the dir/scrollbar thing on the list - what do you think
		>is the best way to do it?
		> 
		>
		If I understand your suggestion, yes. "What is really related to the
		"RTLness" of Arabic script and what is not" could be a good discussion
		subject. For the best way to do it, I don't have any precise opinion.
		Perhaps some emails will liquidate the question very quickly :-) I
		dont'know.
		
		About your FAQ, I've thought to mention it tomorrow on IRC, but the FAQ
		leave an impression of ambiguity. You consider, rightly, the language
		information as a meta-data about language content. But the lang
		attribute can added to many container elements as well as to some <mata>
		tags.
		The last sentence of the answer section states "Meta-data that indicates
		content language can be useful for many applications. For example:" and
		you give many examples, included one concerning the <meta> tag . This
		might help remove the ambiguity.
		
		Regards, Najib
		
		>Deborah
		>
		>
		>-----Original Message-----
		>From: Najib Tounsi [mailto:ntounsi@emi.ac.ma]
		>Sent: 22 June 2004 14:23
		>To: Deborah Cawkwell
		>Cc: Najib Tounsi
		>Subject: Re: FAQ: Why should I use the 'lang' attribute?
		>
		>Najib Tounsi wrote:
		>
		> 
		>
		>>Deborah Cawkwell wrote:
		>>
		>>   
		>>
		>>>Can't get this - is it the right URL?
		>>>http://www.w3c.org.ma/Tests/lang.html

		>>>
		>>>
		>>>     
		>>>
		>>Yes, try to insist.
		>>(otherwise try http://193.194.4.8/Tests/lang.html)
		>>
		>>
		>>   
		>>
		>Hi Deborah,
		>
		>Have you got it?
		>
		>Najib
		>
		> 
		>
		
		
		--
		Najib TOUNSI (mailto:tounsi@w3.org)
		Bureau W3C au Maroc (http://www.w3c.org.ma/)
		Ecole Mohammadia d'Ingenieurs, BP 765 Agdal-RABAT Maroc (Morocco)
		Phone : +212 (0) 37 68 71 74  Fax : +212 (0) 37 77 88 53
		Mobile: +212 (0) 61 22 00 30
		
		
		


http://www.bbc.co.uk/ - World Wide Wonderland

This e-mail (and any attachments) is confidential and may contain
personal views which are not the views of the BBC unless specifically
stated.
If you have received it in error, please delete it from your system. 
Do not use, copy or disclose the information in any way nor act in
reliance on it and notify the sender immediately. Please note that the
BBC monitors e-mails sent or received. 
Further communication will signify your consent to this.
Received on Wednesday, 23 June 2004 09:13:12 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:12:38 GMT