Revert "Revert "Language names via intl library.""

This reverts commit 4f35efa0ba.
This commit is contained in:
Stefan Parviainen
2014-12-31 10:42:08 +01:00
parent 24a16434bc
commit 7bf7f8180d
994 changed files with 498717 additions and 7 deletions

View File

@@ -1629,7 +1629,7 @@ function lang_selector() {
$ll = substr($l,5);
$ll = substr($ll,0,strrpos($ll,'/'));
$selected = (($ll === $a->language && (x($_SESSION, 'language'))) ? $ll : $selected);
$lang_options[$ll]=$ll;
$lang_options[$ll] = get_language_name($ll, $ll) . " ($ll)";
}
}