summaryrefslogtreecommitdiffstats
path: root/src/docbookgen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/docbookgen.cpp')
-rw-r--r--src/docbookgen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/docbookgen.cpp b/src/docbookgen.cpp
index 53b2957..e5c9a6b 100644
--- a/src/docbookgen.cpp
+++ b/src/docbookgen.cpp
@@ -320,6 +320,7 @@ DB_GEN_C
t << "<?xml version='1.0' encoding='UTF-8' standalone='no'?>" << endl;;
t << "<" << fileType << " xmlns=\"http://docbook.org/ns/docbook\" version=\"5.0\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"";
if (!pageName.isEmpty()) t << " xml:id=\"_" << stripPath(pageName) << "\"";
+ t << " xml:lang=\"" << theTranslator->trISOLang() << "\"";
t << ">" << endl;
}