W3C home > Mailing lists > Public > www-talk@w3.org > November to December 1995

Re: Content negotiation

From: Mob Psychologist <faithz@sco.com>
Date: Fri, 10 Nov 1995 11:38:32 -0800 (PST)
To: batie@aahz.jf.intel.com, mau@beatles.cselt.stet.it
Cc: www-talk@w3.org
Message-Id: <9511101138.aa00614@taxco.sco.com>
	% Content Negotiation goes beyond browser type, but user type as well.  For
	% example, I would add this issue:
	% 4.  I want to send French pages to French speaking users, German, etc...
	Accept-Language: seems to me the best way to accomplish it.
	My personal idea is to modify slightly a server, so that the resource
	/foo/bar.html actually can correspond to either /foo/DE/bar.html or
	/foo/FR/bar.html ...
	I understand that URC (or URN?) should be the right approach, but this could 
	be implemented in a hurry, provided that browsers optionally send the 
	correct header.
	Any comments?
This is exactly how we have implemented multiple language support.
The Accept-Language sends the LANG environment variable of the user,
and the server uses a new configuration directive, LocalizedDocRoot, to
map the language to a different document root directory.  We actually
use a language subdirectory of the original document root, to keep all
the documents together.  We also have another configuration directive,
LanguageAlias, that aliases different ways of specifying locales.

Faith Zack 
The Santa Cruz Operation
email: faithz@sco.com
phone: (408) 427-7611
Received on Friday, 10 November 1995 14:42:04 UTC

This archive was generated by hypermail 2.4.0 : Monday, 20 January 2020 16:08:19 UTC