W3C home > Mailing lists > Public > www-style@w3.org > August 2002

Re: List Module Offering

From: Karl Ove Hufthammer <lister@huftis.org>
Date: Wed, 14 Aug 2002 12:06:49 +0200
Message-Id: <n2m-g.Xns926A7B39F6868huftis@ID-99504.news.dfncis.de>
To: www-style@w3.org

Daniel Glazman <glazman@netscape.com> wrote in
news:3D5A0835.30303@netscape.com:

> From the language. xml:lang attribute, HTTP header, browser's
> preferred language, OS locale, ...

This is all described in HTML 4.01:

<URL: http://www.w3.org/TR/html40/struct/dirlang.html >:

    An element inherits language code information according to
    the following order of precedence (highest to lowest):

    * The lang attribute set for the element itself.
    * The closest parent element that has the lang attribute set
      (i.e., the lang attribute is inherited).
    * The HTTP "Content-Language" header (which may be configured
      in a server).
    * User agent default values and user preferences.

(Though I disagree that the user agent's or OS's language/locale
settings should be used.)

-- 
Karl Ove Hufthammer
Received on Wednesday, 14 August 2002 07:10:36 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:15 GMT