diff --git a/material/partials/page-header.html b/material/partials/page-header.html
index f454172b6..800ad32e9 100644
--- a/material/partials/page-header.html
+++ b/material/partials/page-header.html
@@ -1,6 +1,7 @@
{#-
This file was automatically generated - do not edit
-#}
+{% import "partials/language.html" as lang with context %}
{% if page.edit_url %}
{% include ".icons/material/pencil.svg" %}
diff --git a/src/partials/page-header.html b/src/partials/page-header.html
index 3fa8bfd6f..42658b285 100644
--- a/src/partials/page-header.html
+++ b/src/partials/page-header.html
@@ -20,6 +20,8 @@
IN THE SOFTWARE.
-->
+{% import "partials/language.html" as lang with context %}
+
{% if page.edit_url %}