diff --git a/datamodels/2.x/itop-portal-base/portal/web/index.php b/datamodels/2.x/itop-portal-base/portal/web/index.php index 4e51b23d0..6fd298cbe 100644 --- a/datamodels/2.x/itop-portal-base/portal/web/index.php +++ b/datamodels/2.x/itop-portal-base/portal/web/index.php @@ -53,6 +53,11 @@ if (UserRights::GetContactId() == 0) $oContex = new ContextTag('GUI:Portal'); $oContex2 = new ContextTag('Portal:' . PORTAL_MODULE_ID); +if (!defined('DISABLE_DATA_LOCALIZER_PORTAL')) +{ + ApplicationContext::SetPluginProperty('QueryLocalizerPlugin', 'language_code', UserRights::GetUserLanguage()); +} + // Checking if debug param is on $bDebug = (isset($_REQUEST['debug']) && ($_REQUEST['debug'] === 'true') );