For my final year university project, i need to know how do i change to language of my webpage without linking to another page.
so basically i want to have a drop down menu, with a few languages on it, i.e. french, italian and chinese, and when the user selects on of these languages the content on the page changes to the selected language?
does anybody have any idea how to do this?
Thanks Guys
Page 1 of 1
Changing the language of a webpage. How do you change the language of a webpage.
#2
Posted 11 March 2010 - 11:25 AM
I can think of a way using "News Box" PHP code and "include" files.
You have several links which say "French", "Spanish", etc. They don't link to other html pages, the PHP shows the correct "include" file in a designated space on the same page. See item 3 here:-
http://www.wickham43....php#phpnewsbox
for the general principle.
You have several links which say "French", "Spanish", etc. They don't link to other html pages, the PHP shows the correct "include" file in a designated space on the same page. See item 3 here:-
http://www.wickham43....php#phpnewsbox
for the general principle.
#3
Posted 11 March 2010 - 11:36 AM
If you know anything about XML or have an inkling to learn it, you could do this with a languages XML file.
Hope this helps.
Hope this helps.
- ← i want my dropdown to always select the value from database as defualt.
- Server Side (PHP, Databases, ASP.NET, etc)
- how to make dropdown field links to other pages →
Share this topic:
Page 1 of 1
Help
















