]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - application/render/PageBuilder.php
Accessibility: specify the HTML lang attribute
[github/shaarli/Shaarli.git] / application / render / PageBuilder.php
index 9a0fe61a557654f77ceeb5fae9dccec2f59171d2..3f86fc2681010c99b724ffbcef2cc758b0240418 100644 (file)
@@ -2,10 +2,10 @@
 
 namespace Shaarli\Render;
 
-use ApplicationUtils;
 use Exception;
-use Shaarli\Bookmark\LinkDB;
 use RainTPL;
+use Shaarli\ApplicationUtils;
+use Shaarli\Bookmark\LinkDB;
 use Shaarli\Config\ConfigManager;
 use Shaarli\Thumbnailer;
 
@@ -123,6 +123,8 @@ class PageBuilder
         $this->tpl->assign('hide_timestamps', $this->conf->get('privacy.hide_timestamps', false));
         $this->tpl->assign('token', $this->token);
 
+        $this->tpl->assign('language', $this->conf->get('translation.language'));
+
         if ($this->linkDB !== null) {
             $this->tpl->assign('tags', $this->linkDB->linksCountPerTag());
         }