title: How can I copy or set the language setting of a document?
body: <p>I am developing an add-on that changes the active document based on a template document that the user selects. Template documents exist with different language settings. How can I copy the language setting from the template document to the active document? Or if that is not possible, how could I just set the language of the active document?</p>