I want to construct a web page with language flags. The user clicks his flag and the web page is then displayed in his language. In VB6 I would achieve this with a resource file. Does HTML, PHP or CSS have something like that or must I create a web site for each language.
I would very much appreciate any advice on this. The Languages would be English, German, Dutch and Danish
Many thanks
Tony
Tony Barber
0
Newbie Poster
Recommended Answers
Jump to Posti would use a mysql database and php to do it. have mysql store the different lanuages and display them based on the url ex. website.com/index.php?lang=en where en would be english and so on. the php script will do the rest. there …
Jump to Postjust thought of a different way. what you could do is have a language directory. in that directory you have folders with the language name on it. ex (English, Spanish, ect.). in these directories you have the same files (header.html,footer.html,mainbody.html, ect.) and all you have to do is change the …
Jump to Postto make it easier for both of us, please post your html code. I will make the necessary changes and then explain it all to you so you get it.
All 10 Replies
somedude3488
228
Nearly a Posting Virtuoso
somedude3488
228
Nearly a Posting Virtuoso
Tony Barber
0
Newbie Poster
Tony Barber
0
Newbie Poster
somedude3488
228
Nearly a Posting Virtuoso
Tony Barber
0
Newbie Poster
somedude3488
228
Nearly a Posting Virtuoso
fatihpiristine
somedude3488
228
Nearly a Posting Virtuoso
fatihpiristine
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.