<!DOCTYPE html>
-<html xmlns="http://www.w3.org/1999/xhtml">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="utf-8" />
<title> Trivabble </title>
}
trivabble.applyL10n = function () {
+ document.documentElement.lang = libD.lang;
+ document.documentElement.setAttribute("xml:lang", libD.lang);
+
for (const node of [].slice.call(document.querySelectorAll("[data-l10n]"))) {
if (node.dataset.l10n === "text-content") {
node.textContent = _(node.textContent.trim());