Code: Select all
if (@include(S9Y_INCLUDE_PATH . 'lang/' . $charset . 'serendipity_lang_'. $serendipity['lang'] .'.inc.php') ) {
// Only here can we truely say the language is loaded
define('serendipity_LANG_LOADED', true);
if (function_exists('serendipity_db_reconnect')) {
serendipity_db_reconnect();
}
...
// Do fallback to english
if (IS_installed === false || (defined('IS_up2date') && IS_up2date === false)) {
@include(S9Y_INCLUDE_PATH . 'lang/' . $charset . 'serendipity_lang_en.inc.php');From my POV, serendipity_lang_en.inc.php must be included first, before localisation (which overload duplicated strings but show missing in pure English instead of f.e INSTALL_OFFSET_ON_SERVER_TIME
INSTALL_OFFSET_ON_SERVER_TIME_DESC)