W3C home > Mailing lists > Public > www-html@w3.org > July 2004

Re: [XHTML2] CITELANG, TITLELANG attributes

From: Anne van Kesteren <fora@annevankesteren.nl>
Date: Wed, 28 Jul 2004 08:38:59 +0200
Message-ID: <41074A03.8030200@annevankesteren.nl>
To: "Jukka K. Korpela" <jkorpela@cs.tut.fi>
Cc: www-html@w3.org

> For CITE, the language of the cited document can be specified in a
> multiple of ways, e.g. in HTTP headers or, if it is an HTML document,
> inside the document itself. Any attribute that specifies the language in
> the citing document would thus normally be superfluous.

Let me give an example:

  <p cite="http://example.com/origineel.nl.xh2">
   This is a translation, since most people who read my site don't speak
   Dutch.
  </p>

So the source is written in Dutch, that could be an article, or a poem 
and you want to cite a part of that on your site and make it readable 
for non Dutch people. What to do? Translate.

So the language of the document is EN, the language of the cited 
document is NL. If I want to show that metadata to my visitor, by using 
CSS for instance, I don't want to check the HTTP header and use some 
server-side logic to write it down in my document. I just want an 
attribute to mention the resource language.

Like HREFLANG acted in HTML 4.01, purely for metadata. (Although I agree 
that the new HREFLANG is much more useable.)


-- 
  Anne van Kesteren
  <http://annevankesteren.nl/>
Received on Wednesday, 28 July 2004 02:39:45 GMT

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