Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Use proper lang global attribute

Marco Badanb4538ad5d902
diff --git a/templates/base.html b/templates/base.html
index a25d35062f..beea1729fc 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -3,7 +3,7 @@
{% load staticfiles %}
{% load render_bundle from webpack_loader %}
-<html lang="en" class="no-js">
+<html lang="{{ LANGUAGE_CODE }}" class="no-js">
<head>
<title>{% block title %}{{ settings.name }}{% endblock %}</title>
{% block meta %}
diff --git a/templates/dashboard/base.html b/templates/dashboard/base.html
index aeaae113f8..7614393357 100644
--- a/templates/dashboard/base.html
+++ b/templates/dashboard/base.html
@@ -2,7 +2,7 @@
{% load staticfiles i18n %}
{% load render_bundle from webpack_loader %}
-<html class="no-js">
+<html lang="{{ LANGUAGE_CODE }}" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">