diff --git a/classes/Dispatcher.php b/classes/Dispatcher.php index 747aa3946..354e7243c 100644 --- a/classes/Dispatcher.php +++ b/classes/Dispatcher.php @@ -224,7 +224,7 @@ class DispatcherCore $this->setRequestUri(); // Switch language if needed (only on front) - if ($this->front_controller == self::FC_FRONT) + if (in_array($this->front_controller, array(self::FC_FRONT, self::FC_MODULE))) Tools::switchLanguage(); if (Language::isMultiLanguageActivated())