Re: multiple language versions
by "Klaas" <klaas(at)gracegraphics.be>
|
Date: |
Wed, 27 Jun 2001 17:04:41 +0200 |
To: |
"John Allred" <allred(at)allrednet.com>, <hwg-techniques(at)hwg.org> |
References: |
pdc allrednet |
|
todo: View
Thread,
Original
|
|
Dear John,
thanks for this reply. I was thinking of something in the same direction.
Though I haven't been able to pratically something like this...
You have a number of different languages, devided across directories...
/NL/pages/page1.htm for dutch
and /EN/pages/page1.htm for english.
I now want to include some code (through a server-side include) that can be
used to access the other language versions of the page you are on. You just
click french, and the code automatically goes to the /FR/ directory instead
of the one you're in now, AND finds the page you were viewing at that
specific time.
I'm pretty sure I can come up with something on the long run, but though it
was worth putting on here and making this a nice code for users to use.
Maybe someone already made this? It would offer a great user-friendly
feature to site visitors, but should require minimal custimization of the
code.
- Kayjey -
----- Original Message -----
From: John Allred <allred(at)allrednet.com>
To: <hwg-techniques(at)hwg.org>
Sent: Wednesday, June 27, 2001 3:09 PM
Subject: Re: multiple language versions
> Klaas,
>
> If you're able to use ASP (or a competing technology), you can pass the
> current language to each page as a session variable. Clicking on the
> desired language should reload the current page with the new language
> displayed. The text can be pulled from a database or included from a
> file on the server. Depending on the languages you offer, be sure to
> include the appropriate character set in the page.
>
> HTH,
> --John
>
> Klaas De Waele wrote:
> >
> > Dear all,
> >
> > I have a customer wanting another special thing...
> >
> > He wants a VERY extensive website (very large, 500+ screens) in multiple
> > language versions. In this, he also wants to be able to swap languages
> > within each screen. In that you're at a certain page on the website,
you
> > click the magic language selection button and hey presto, that specific
> > content is now in another language, and all buttons too and...
> >
> > I'm in a bit of a pain to make it work. I'm planning on keeping all
> > languages in a seperate directory. So that when he's at a page say
> > /ENG/products/prod0521456.htm you can push the 'FR' button and end up at
> > /FR/products/prod0521456.htm PLUS change the navigation and header to eg
> > /FR/head.htm and /FR/navi.htm
> >
> > If I'm going to have ASP on the server, I think there'll be no problem,
but
> > if it's not, I'm afraid I'll have to use javascript.
> >
> > Anyone?
> >
> > - Kayjey -
>
> --
> "Once in a while it really hits people that they don't have to
> experience
> the world in the way they have been told to." - Alan Keightley
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA