From c649d9e495c036c1ea8ce930524776fb72110392 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 28 Oct 2025 21:36:56 +0100 Subject: [PATCH] set default language in translator from session --- inc/inc.Authentication.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/inc/inc.Authentication.php b/inc/inc.Authentication.php index 49f87a02a..bc132862b 100644 --- a/inc/inc.Authentication.php +++ b/inc/inc.Authentication.php @@ -65,6 +65,8 @@ if (!isset($_COOKIE["mydms_session"])) { } } +$translator->setDefaultLanguage($session->getLanguage()); + /* Update last access time */ if((int)$resArr['lastAccess']+60 < time()) $session->updateAccess($dms_session);