I checked inside my apache server. There's an online 'manual' which serves as a good example. This is the index page's contents:
Quote:
URI: index.html.de
Content-Language: de
Content-type: text/html; charset=ISO-8859-1
URI: index.html.en
Content-Language: en
Content-type: text/html; charset=ISO-8859-1
URI: index.html.es
Content-Language: es
Content-type: text/html; charset=ISO-8859-1
URI: index.html.fr
Content-Language: fr
Content-type: text/html; charset=ISO-8859-1
URI: index.html.ja.euc-jp
Content-Language: ja
Content-type: text/html; charset=EUC-JP
URI: index.html.ko.euc-kr
Content-Language: ko
Content-type: text/html; charset=EUC-KR
URI: index.html.ru.koi8-r
Content-Language: ru
Content-type: text/html; charset=KOI8-R
|
and when I go to it, being in the UK, it goes to the UK page
basically this is part of the folder listing and gives you an idea of what you have to do (i.e. lots of pages ending in .html.en and .html.es and so on - i.e. a page for each language)
Quote:
content-negotiation.html index.html.de sections.html.ja.euc-jp
content-negotiation.html.en index.html.en sections.html.ko.euc-kr
content-negotiation.html.fr index.html.es server-wide.html
content-negotiation.html.ja.euc-jp index.html.fr server-wide.html.en
content-negotiation.html.ko.euc-kr index.html.ja.euc-jp server-wide.html.es
custom-error.html index.html.ko.euc-kr server-wide.html.ja.euc-jp
custom-error.html.en index.html.ru.koi8-r server-wide.html.ko.euc-kr
custom-error.html.es
|
As you can see, there are pages for each language and the index.html page sends you in the direction of the appropriate language.
It seems to me that URI's are the clincher here.
I found this on W3c...
Quote:
Learning About URIs
The Web is an information space. Human beings have a lot of mental machinery for manipulating, imagining, and finding their way in spaces. URIs are the points in that space.
Unlike web data formats, where HTML is an important one, but not the only one, and web protocols, where HTTP has a similar status, there is only one Web naming/addressing technology: URIs.
Uniform Resource Identifiers (URIs, aka URLs) are short strings that identify resources in the web: documents, images, downloadable files, services, electronic mailboxes, and other resources. They make resources available under a variety of naming schemes and access methods such as HTTP, FTP, and Internet mail addressable in the same simple way. They reduce the tedium of "log in to this server, then issue this magic command ..." down to a single click.
It is an extensible technology: there are a number of existing addressing schemes, and more may be incorporated over time.
|
http://www.w3.org/Addressing/
That seems to be the direction I would start travelling in if I were looking to solve the problem you outline.
|