This is because all the user's preferences have been cleared out during logoff, including their language selection.
I haven't tested this yet ... perhaps you would test and give feedback:
includes/modules/pages/logoff/header_php.php
starting around line 18, you have:
PHP Code:
/**
* Check if there is still a customer_id
* If so, kill the session, and redirect back to the logoff page
* This will cause the header logic to see that the customer_id is gone, and thus not display another logoff link
*/
if (!empty($_SESSION['customer_id'])) {
zen_session_destroy();
zen_redirect(zen_href_link(FILENAME_LOGOFF));
}
replace that with:
PHP Code:
/**
* Check what language should be used on the logoff screen
*/
$logoff_lang = ($_SESSION['languages_code'] != DEFAULT_LANGUAGE) ? 'language=' . $_SESSION['languages_code'] : '';
/**
* Check if there is still a customer_id
* If so, kill the session, and redirect back to the logoff page
* This will cause the header logic to see that the customer_id is gone, and thus not display another logoff link
*/
if (!empty($_SESSION['customer_id'])) {
zen_session_destroy();
zen_redirect(zen_href_link(FILENAME_LOGOFF, $logoff_lang));
}