|
|
@ -188,7 +188,7 @@ class rcmail
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// try the first two chars
|
|
|
|
// try the first two chars
|
|
|
|
else if (!isset($rcube_languages[$lang])) {
|
|
|
|
else if (!isset($rcube_languages[$lang])) {
|
|
|
|
$short = $this->language_prop(substr($lang, 0, 2));
|
|
|
|
$short = substr($lang, 0, 2);
|
|
|
|
|
|
|
|
|
|
|
|
// check if we have an alias for the short language code
|
|
|
|
// check if we have an alias for the short language code
|
|
|
|
if (!isset($rcube_languages[$short]) && isset($rcube_language_aliases[$short])) {
|
|
|
|
if (!isset($rcube_languages[$short]) && isset($rcube_language_aliases[$short])) {
|
|
|
|