id_lang) { $lang = new Language((int)$cookie->id_lang); if(!Validate::isLoadedObject($lang)) { $cookie->id_lang = NULL; } } /* If language file not present, you must use default language file */ if(!$cookie->id_lang OR !Validate::isUnsignedId($cookie->id_lang)) $cookie->id_lang = (int) Configuration::get('PS_LANG_DEFAULT'); $iso = Language::getIsoById((int) $cookie->id_lang); @include_once(_PS_THEME_DIR_.'lang/'.$iso.'.php'); return $iso; } }