W3C home > Mailing lists > Public > www-international@w3.org > January to March 2005

RE: Primary Language in HTML, XHTML and XML

From: M.T. Carrasco Benitez <mtcarrascob@yahoo.com>
Date: Thu, 24 Mar 2005 11:35:44 +0000 (GMT)
Message-ID: <20050324113545.7219.qmail@web42006.mail.yahoo.com>
To: www-international@w3.org

> [Carrasco]
> > The filename should be considered acceptable to specify the primary
> > language. file is a registered URI scheme [US]. Examples:
> > 
> > myfile.en.html
> > myfile_en.html
> 
> [Jon Hanna]
> This isn't terribly useful in general IMO. It would be useful if you
> were reading /myfile.html in your preferred language of, say
> French, and the English was the original and/or definitive version.
> In this case you might follow a link to myfile_en.html that would
> be returned in English as that is what you want in that particular
> case for a particular purpose, despite your generally favouring
> French.
> In most cases the language I want is a matter of what I can cope
> with, not a matter of what I am interested in.

[Carrasco]

1) Is it useful to specify the primary language(s) ?
Yes.


2) *How* to specify the primary languages(s) ?

- Externally; e.g.,
   + HTTP header field Content-Language
   + Filename

- Internally; e.g.,
   + lang attribute


3) The filename
 - Filenames often have two metadata
    + language
    + format (MIME Type)

The language because in multilingual sites one has several linguistic
versions of the same file; e.g.,

 foo.en.html  (English)
 foo.es.html  (Spanish)

Indeed, Apache processes the above syntax in Tranparent Content
Negotiation (TC) and will put it in the HTTP header field
Content-Language.

Hence, a recommendation for language filenaming is very much needed.
One should combine this with the specification of the primary
language(s), the relation to the text processing language and the
behaviour of the inheritance.

Regards
Tomas


Send instant messages to your online friends http://uk.messenger.yahoo.com 
Received on Thursday, 24 March 2005 11:36:16 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 2 June 2009 19:17:04 GMT