diff --git a/src/MiddleWare/TemplateRenderer.php b/src/MiddleWare/TemplateRenderer.php index 9b1dd8b..ef8518f 100644 --- a/src/MiddleWare/TemplateRenderer.php +++ b/src/MiddleWare/TemplateRenderer.php @@ -56,6 +56,7 @@ public function renderTemplate(Plugin $plugin, string $pluginName, string $view) ]), 'title' => $plugin instanceof BasePlugin ? $plugin->getTitle() : null, 'content' => $this->renderContentCode($plugin, $pluginName, $view, $components), + 'locale' => $this->context->getLocale(), 'menu' => [ 'dashboardLink' => $baseUrl . '/admin', 'isDashboard' => $pluginName === 'Homepage' && $view === 'default',