From 331673104c056da093f60cde57d731371fbdc6ee Mon Sep 17 00:00:00 2001 From: Janusz Dobrowolski Date: Fri, 15 Mar 2024 11:43:52 +0100 Subject: [PATCH] Fixed language modules locale.inc integration. --- includes/hooks.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/hooks.inc b/includes/hooks.inc index 1fbcd0e7..85b7ae93 100644 --- a/includes/hooks.inc +++ b/includes/hooks.inc @@ -234,6 +234,7 @@ function install_hooks($lang_code=null) $code = $lang_code; $hook_class = 'hooks_'.$code; $Hooks[$code] = new $hook_class; + $Hooks[$code]->path = "/lang/" . $lang_code . "/locale.inc"; unset($code, $hook_class); } // install hooks provided by active extensions -- 2.30.2