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

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.

Jesper

-----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