documentLanguage property

String documentLanguage
getter/setter pair

Document-level language (BCP-47 code). Defaults to the language selected in DocumentLanguageController or the system locale.

Implementation

String documentLanguage = DocumentLanguageController.instance.current.code;