E-mail List Archives

Re: This week's article: Content Language

for

From: Karl Dawson
Date: Jan 23, 2006 7:15AM


On 23/01/06, Dejan Kozina < <EMAIL REMOVED> > wrote:
>
> I'm replying off the top of my mind, so expect me to blunder regarding
> the correct terminology...
>
> The lang attribute of the html element can have one language only
> declared. If the document is a multilanguage one (say a splash page on a
> multilingual website where you ask the visitor to choose his/her
> language) and you can't or won't select one language as primary (think
> countries with more that one official language, say Canada or Belgium)
> you can left this one out and mark directly the relevant sections of the
> page with their own lang attributes.


Yes, that's a good example for exemption. In the case of an unbiased
multi-lingual page - like the splash page you describe then it would be
beneficial to specify the lang attribute further down the document
heirarchy. The higher the better to save writing it out too many times.

The W3C provide this
advice<http://www.w3.org/TR/i18n-html-tech-lang/#ri20040728.121403792>;
.



There is also a 'Content-Language' HTTP header (with optionally the
> relative 'meta http-equiv' element)describing the languages in which the
> document is revevant: this one accepts a comma separated list of
> languages.
>
> djn
>
> Karl Dawson wrote:
> > From the Top: Content Language
> > <http://www.thatstandardsguy.co.uk/2006/01/23/content-language/>;
> >
> --
> Dejan Kozina
> Dolina 346 (TS) - I-34018 Italy
> tel./fax: +39 040 228 436 - cell.: +39 348 7355 225
> http://www.kozina.com/ - e-mail: <EMAIL REMOVED>
>
>
>
>

Regards,
--
Karl Dawson
Crusader for Web Standards and Accessibility
http://www.thatstandardsguy.co.uk
--------------------------------------------------
Accessites Team Member - http://www.accessites.org/
--------------------------------------------------

"The power of the Web is in its universality. Access by everyone regardless
of disability is an essential aspect."
Tim Berners-Lee - W3C Director and inventor of the World Wide Web