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

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

From: Jeroen Budts <jeroen@lightyear.be>
Date: Sun, 14 Mar 2004 22:43:20 +0100
Message-ID: <4054D1F8.50502@lightyear.be>
To: WAI-IG <w3c-wai-ig@w3.org>

Hash: SHA1
I'm considering of creating an english version of my website
(currently there's only a dutch version), but I have never done
something like this before.
~ My idea about it was to create a page like 'index.php' (i'll call
this the languageselector) which uses the http-request to decide
wether to serve the dutch or the english version, using a redirect,
for the english version to index.en.php and for the dutch to
index.nl.php. I would create a languageselector for every page, so
that i would have three files for every page: 'page.php',
'page.en.php', 'page.nl.php'.
Is this a good idea or are there better/other ways for doing this?
Are there maybe some 'ready made' solutions for this? (I use PHP on an
Apache server)

Kind regards and thanks,
Jeroen Budts

- --

- -------
<Person xmlns="http://xmlns.com/foaf/0.1/"
~  name="Jeroen Budts"
~  mbox="jeroen@lightyear.be"
~  homepage="http://www.lightyear.be"
~  weblog="http://www.budts.be"
~  icqChatID="103911636"

NO SoftwarePatents in Europe!
Sign the petition: http://petition.eurolinux.org/

Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
Received on Sunday, 14 March 2004 17:55:57 UTC

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