diff --git a/resources/views/layout.ejs b/resources/views/layout.ejs
index 52d03b17d3afd6b2010b874425dc34b418b308ad..cc63c5fd503f5d1628b7c0d1def32d46b3c593a3 100644
--- a/resources/views/layout.ejs
+++ b/resources/views/layout.ejs
@@ -2,7 +2,7 @@
 <!-- This Source Code Form is subject to the terms of the Mozilla Public
    - License, v. 2.0. If a copy of the MPL was not distributed with this
    - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
-<html>
+<html LANG="<%= lang %>" dir="<%= lang_dir %>">
 <head>
   <meta charset="utf-8">
   <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width" />