PDA

View Full Version : Multi-language site


acrobate67
03-30-2010, 05:14 PM
I have a site that is already built in 3 languages. For now, it only switches if I manually type in the ?lang=en in the url. I would like to use a drop down menu to switch languages but everything I tried did not work. Could someone please help me?

Here is the closest I get to the result I want :

<div id="lang_select_dropdown">
<select id "lang_select" name="lang_select" onchange="switchSelectedLang(this)";>
<option value="en">English</option>
<option value="fr">Francais</option>
<option value="sp">Espanol</option>
</select>
</div>

The menu appears in my page but it does not drop down for selection.

Thanks in advance

edbr
03-31-2010, 03:08 AM
is the method of your form post?

personally i would use links
<a href="your_page.php?lang=en">english</a>