Maybe sort the languge list alphabetically by the language names seen in the list.
Instead of sorting by language codes not seen in the list.
Code: Select all
<option value="ar">العربية</option>
<option value="bg">Български</option>
<option value="ca">Català</option>
<option value="da">Dansk</option>
<option value="de">Deutsch (Du)</option>
<option value="de_x_sie">Deutsch (Sie)</option>
<option value="el">Ελληνικά (Greek)</option>
<option value="en">British English</option>
<option value="en_us">American English</option>
<option value="es">Español (Usted)</option>
<option value="es_x_tu">Español (Tú)</option>
<option value="et">Eesti keel</option>
<option value="fa">فارسی</option>
<option value="fi">Suomi</option>
<option value="fr">Français</option>
<option value="gd">Gàidhlig</option>
<option value="he">עברית</option>
<option value="hr">Hrvatski ("Ti")</option>
<option value="hr_x_vi">Hrvatski ("Vi")</option>
<option value="it">Italiano</option>
<option value="ja">日本語</option>
<option value="nl">Nederlands (Informeel)</option>
<option value="nl_x_formal">Nederlands (Formal)</option>
<option value="pl">Polski</option>
<option value="pt">Português</option>
<option value="pt_br">Português Brasileiro</option>
<option value="ro">Română</option>
<option value="ru">Русский</option>
<option value="sk">Slovenčina</option>
<option value="sl">Slovenščina</option>
<option value="sr-cyrl">Српски</option>
<option value="sr-latin">Srpski (Latinica)</option>
<option value="tr">Türkçe</option>
<option value="uk">Українська</option>
<option value="zh_cmn_hans">简体中文</option>
<option value="zh_cmn_hant">正體中文</option>