I'm Pole and since "polish" language is not prosent phpwcms should use by default english at login form because "pl" reported by my browser is not found by phpwcms, however it just selects first from the list which is "russian".
Here's a fix for that (version 1.2.3):
Code: Select all
--- D:\Work\Digitech\phpwcms\phpwcms_1.2.3-DEV\login.php Mon Mar 28 08:35:50 2005
+++ D:\Work\Digitech\phpwcms\phpwcms_1.2.3-mod\login.php Wed May 25 17:45:58 2005
@@ -57,6 +57,7 @@
$_SESSION["wcs_user_lang_custom"] = 1;
} else {
$lang_file_include = 'include/inc_lang/backend/en/lang.inc.php';
+ $_SESSION["wcs_user_lang"] = "en";
$_SESSION["wcs_user_lang_custom"] = 0;
}
require_once ($lang_file_include);