Hi !
I'm trying to apply this language switcher to my modx website :
http://www.ixtendo.com/polyglot-language-switcher-jquery-plugin/
here is the code to display the language + flags:
<div id="polyglotLanguageSwitcher">
<form action="[[+url]]">
<select id="polyglot-language-options">
<option id="en" value="en">English</option>
<option id="fr" value="fr">Français</option>
<option id="de" value="de">Deutsch</option>
<option id="it" value="it">Italiano</option>
</select>
</form>
</div>
My questions :
1. is there a way to automatically generate the list of languages ?
2. how do i set it up to change the language on select ? (i tried simply with [[+url]] in form action, but it doesn't work...)
thanks for your help !
Troubadour