Language question

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi there,

I am building a website which among others has three pages of text.

The first page is written in Dutch, the second page in English and the third
page in both Dutch and English.

Do I have to write at top of the first page lang=NL, on top of the second
page lang=EN-GB,  and on the third page lang=NL and lang=EN-GB?

Or should I do this in a different way?

Thanks very much indeed.


Re: Language question

John Larronn wrote:
Quoted text here. Click to load it

The browser will display whatever page is sent.  Setting lang=NL or
whatever at the top of the page will do nothing.

You need to server the correct page in the first place, depending on the
language the user wants.  You can do this by

1). Allowing them to select the language on your home page and tracking
which pages to server, i.e. via a cookie and server-side language, or

2). Again with a server-side language, look at the language(s) the user
has his browser set to prefer and server them there.

The first option is generally the more preferred.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: Language question

Quoted text here. Click to load it

Thanks very much for your quick reply, Jerry!


Site Timeline