[Translators] lang-switch for the main page

Konrad Iturbe mail at chernowii.com
Fri Jan 31 12:14:50 CET 2014


+1, I like the drop down menu idea.

<!/*Konrad Iturbe*/>
http://chernowii.com

-----Original Message-----
From: "M. T." <hippie_1968 at hotmail.com>
Sent: ‎31/‎01/‎2014 11:39
To: "translators at videolan.org" <translators at videolan.org>
Subject: [Translators] lang-switch for the main page

Hi,

I have a small suggestion for the current and ugly language change on the bottom of the mail page.
I put all this links into a nicer drop down menu and leave the language codes, maybe it would be
better to write the language names in full. But I can't decide if in english or the native name.
And it would be better to place this switch at the top of this page.

Here is my html code:
---------------------------
        <div>
            <div class="footerHeading">Language:</div>
    <form action="select">            
    <select name="menu" onchange="window.open(this.options[this.selectedIndex].value)">
<option value="http://www.videolan.org/vlc/index.an.html">an</option>
<option value="http://www.videolan.org/vlc/index.ar.html">ar</option>
<option value="http://www.videolan.org/vlc/index.ast.html">ast</option>
<option value="http://www.videolan.org/vlc/index.be.html">be</option>
<option value="http://www.videolan.org/vlc/index.bn_IN.html">bn_IN</option>
<option value="http://www.videolan.org/vlc/index.bs.html">bs</option>
<option value="http://www.videolan.org/vlc/index.ca.html">ca</option>
<option value="http://www.videolan.org/vlc/index.cs.html">cs</option>
<option value="http://www.videolan.org/vlc/index.cy.html">cy</option>
<option value="http://www.videolan.org/vlc/index.da.html">da</option>
<option value="http://www.videolan.org/vlc/index.de.html">de</option>
<option value="http://www.videolan.org/vlc/index.el.html">el</option>
<option selected value="http://www.videolan.org/vlc/index.html">en</option>
<option value="http://www.videolan.org/vlc/index.es.html">es</option>
<option value="http://www.videolan.org/vlc/index.et.html">et</option>
<option value="http://www.videolan.org/vlc/index.fr.html">fr</option>
<option value="http://www.videolan.org/vlc/index.gd.html">gd</option>
<option value="http://www.videolan.org/vlc/index.gl.html">gl</option>
<option value="http://www.videolan.org/vlc/index.gu.html">gu</option>
<option value="http://www.videolan.org/vlc/index.he.html">he</option>
<option value="http://www.videolan.org/vlc/index.hi.html">hi</option>
<option value="http://www.videolan.org/vlc/index.hr.html">hr</option>
<option value="http://www.videolan.org/vlc/index.hu.html">hu</option>
<option value="http://www.videolan.org/vlc/index.is.html">is</option>
<option value="http://www.videolan.org/vlc/index.it.html">it</option>
<option value="http://www.videolan.org/vlc/index.ja.html">ja</option>
<option value="http://www.videolan.org/vlc/index.km.html">km</option>
<option value="http://www.videolan.org/vlc/index.kn.html">kn</option>
<option value="http://www.videolan.org/vlc/index.ko.html">ko</option>
<option value="http://www.videolan.org/vlc/index.ky.html">ky</option>
<option value="http://www.videolan.org/vlc/index.lt.html">lt</option>
<option value="http://www.videolan.org/vlc/index.ml.html">ml</option>
<option value="http://www.videolan.org/vlc/index.mr.html">mr</option>
<option value="http://www.videolan.org/vlc/index.my.html">my</option>
<option value="http://www.videolan.org/vlc/index.nb.html">nb</option>
<option value="http://www.videolan.org/vlc/index.nl.html">nl</option>
<option value="http://www.videolan.org/vlc/index.or.html">or</option>
<option value="http://www.videolan.org/vlc/index.pl.html">pl</option>
<option value="http://www.videolan.org/vlc/index.pt.html">pt</option>
<option value="http://www.videolan.org/vlc/index.pt_BR.html">pt_BR</option>
<option value="http://www.videolan.org/vlc/index.ro.html">ro</option>
<option value="http://www.videolan.org/vlc/index.ru.html">ru</option>
<option value="http://www.videolan.org/vlc/index.si.html">si</option>
<option value="http://www.videolan.org/vlc/index.sk.html">sk</option>
<option value="http://www.videolan.org/vlc/index.sl.html">sl</option>
<option value="http://www.videolan.org/vlc/index.sr.html">sr</option>
<option value="http://www.videolan.org/vlc/index.sv.html">sv</option>
<option value="http://www.videolan.org/vlc/index.te.html">te</option>
<option value="http://www.videolan.org/vlc/index.th.html">th</option>
<option value="http://www.videolan.org/vlc/index.tr.html">tr</option>
<option value="http://www.videolan.org/vlc/index.uk.html">uk</option>
<option value="http://www.videolan.org/vlc/index.ur.html">ur</option>
<option value="http://www.videolan.org/vlc/index.vi.html">vi</option>
<option value="http://www.videolan.org/vlc/index.wa.html">wa</option>
<option value="http://www.videolan.org/vlc/index.zh.html">zh</option>
<option value="http://www.videolan.org/vlc/index.zh_TW.html">zh_TW</option>
    </select></form>
         </div>
------------------------------------------------------

This should replace the old links and all locale pages should get this update
but the value "selected" should be placed to the right selected language.

Thanks for a feedback!
Michi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/translators/attachments/20140131/708c7761/attachment.html>


More information about the Translators mailing list