W3C home > Mailing lists > Public > www-html@w3.org > February 2006

Re: hreflang

From: Oskar Welzl <lists@welzl.info>
Date: Mon, 06 Feb 2006 13:08:13 +0100
To: www-html@w3.org
Message-Id: <1139227693.22679.27.camel@erde.hormayrgasse>

Am Montag, den 06.02.2006, 22:04 +1100 schrieb Lachlan Hunt:
> Steven Pemberton wrote:
> > but if you want to supply an explicit link to a language version, you 
> > can include the attribute:
> > 
> >     <a href="report" hreflang="nl">The report in Dutch</a>
> > 
> > I would call this the best of both worlds. It means, for instance, that 
> > someone whose preferred language is not Dutch, but who can nevertheless 
> > speak Dutch, can get to the Dutch version (for instance to check the 
> > translation).
> 
> Is this not better handled by having the langauge as part of the URI, 
> such as "report.nl" or "/nl/report"?

It is. C1 in my original post ;-))
("It's superfluous.")

> 
> With the hreflang method, if a user (who's browser preferences don't 
> include nl as a preferred language) bookmarks the page or copies and 
> pastes the URI and then tries to return to the page later, they may not 
> receive the the nl version.
> 

Good point.. Not beeing able to return to the same document only because
you dont click the original link isnt exactly a good user experience.

Regards,
Oskar
Received on Monday, 6 February 2006 12:06:28 GMT

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