Results 1 to 2 of 2
Related
-
aligning page contents Forum: CSS Forum
Replies: 4 -
Changing specific text contents at the same page with click on link... Forum: HTML Forum
Replies: 4 -
Passing variables from HTML page to page Forum: HTML Forum
Replies: 1 -
multi-level JavaScript document.write / html page within a html page Forum: Javascript Forum
Replies: 7 -
Where do I write HTML Forum: HTML Forum
Replies: 4
-
07-31-2002, 11:51 AM #1
How to write a HTML page that presents its contents according to the client language?
I need to do a page that presents its contents according to the client language.
Example:
If the client´s language is Spanish, all the text of the page will be in Spanish, without alter the layout.
If I have ten languages, will I need to do ten pages?
Thanks!
-
07-31-2002, 01:34 PM #2
Hello there, welocme to the forums.
Very, very tricky question.
The hardest bit is detecting the clients language. You can get scripts to do an ip lookup and have a good guess at the country using the country codes, thats about it. Otherwise, they just have to choose.
You can avoid writing ten different pages in a few ways. One is to write/grab a script to use centralised 'lnaguage files' and only pick out the language you want. The other is to keep all the different texts in a database, called by a single page, and it will grab the correct language.
Its a big job, you may want to search the web and see if something like this can be purchased.If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?