Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
use flags with choose language add-on
well, title says it all really, instead of the dropdown menu for the add-on 'choose language 1.0', i would like to use little flags (like the polyglot plugin for wordpress), but sadly enough i have no idea how to do such a thing. maybe someone could point me in the right direction...
cheers
cheers
0
This discussion has been closed.
Comments
Of course, there are situations where the use of flags doesn't make sense, but to say that you are stupid if you use flags, that you insult the nation of which flag you have put on your site, and insult everyone outside that country but speaking the same language is just ... stupid, and insulting.
Of course, in an ideal world you'd work with language headers, to check what the browser has set as default and switch to that.
Getting back to the subject, this should be a very easy change. Without looking at the source of the changer, I suspect it uses something like:
<select> <option value="http://url">language-name</option> ... </select>
You just need get rid of the select tags and change those option tags to appear something like:
<a href="http://url" title="language-name"><img src="flag.gif" alt="language-name"></a>
I know, this is not the answer you were looking for...