Additional information

To get the language in which the document is printed, you can use the dom.document.language variable in expressions linked to the Document Type.