W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > January to March 2004

Re: [WAI-IG] Serving my page in the right language

From: Jesper Tverskov <jesper.tverskov@mail.tele.dk>
Date: Mon, 15 Mar 2004 17:22:50 +0100
To: <w3c-wai-ig@w3.org>
Message-ID: <000001c40aa9$c32ec6f0$440bc650@tversdata>

I'am not sure that we talk about the same thing. I don't detect the
user's domain name but which of my domain names the user want to go to.
I have two domain names pointing at one website.


-----Oprindelig meddelelse-----
Fra: w3c-wai-ig-request@w3.org [mailto:w3c-wai-ig-request@w3.org] Pa
vegne af Tina Holmboe
Sendt: 15. marts 2004 17:01
Til: w3c-wai-ig@w3.org
Emne: Re: [WAI-IG] Serving my page in the right language

On 15 Mar, Jesper Tverskov wrote:

> Instead of your third file just do detect (you need a lot), I use a 
> special setup file in asp.net called global.asax, and I am sure that 
> php has something similar, to detect domain name, and then I do a 
> so-called server transfer to the right page.

  You redirect to different language versions based on the *domain
  name*? That isn't a recommended procedure at all, and - in my view -
  harms accessibility.

  Instead, look at the HTTP Accept-Language header and determine which
  version of content to serve up. I suggest keeping two content trees.
  Remember to include a link to allow users to change language
  regardless of the HTTP header.
 -    Tina Holmboe                    Greytower Technologies
   tina@greytower.net                http://www.greytower.net/
   [+46] 0708 557 905
Received on Monday, 15 March 2004 11:14:45 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 13 October 2015 16:21:27 UTC