@@ 340-341 (lines=2) @@ | ||
337 | list ($_SESSION['installer_temp_lang']) = array_keys($incontext['detected_languages']); |
|
338 | ||
339 | // If we have english and some other language, use the other language. We Americans hate english :P. |
|
340 | if ($_SESSION['installer_temp_lang'] == 'Install.english.php' && count($incontext['detected_languages']) > 1) |
|
341 | list (, $_SESSION['installer_temp_lang']) = array_keys($incontext['detected_languages']); |
|
342 | } |
|
343 | ||
344 | // And now include the actual language file itself. |
@@ 489-490 (lines=2) @@ | ||
486 | list ($_SESSION['installer_temp_lang']) = array_keys($incontext['detected_languages']); |
|
487 | ||
488 | // If we have english and some other language, use the other language. We Americans hate english :P. |
|
489 | if ($_SESSION['installer_temp_lang'] == 'Install.english.php' && count($incontext['detected_languages']) > 1) |
|
490 | list (, $_SESSION['installer_temp_lang']) = array_keys($incontext['detected_languages']); |
|
491 | ||
492 | // For backup we load the english at first -> second language overwrite the english one |
|
493 | if (count($incontext['detected_languages']) > 1) |