Javascript: UserDictionaryInfo.language Property
Description
The user dictionary's language in the format languagecode2-country/regioncode2.
Syntax
<string> UserDictionaryInfo.languageExamples
The following example demonstrates UserDictionaryInfo.language in a practical document-editing workflow. The user dictionary's language in the format languagecode2-country/regioncode2.
function inspectLanguage(userDictionaryInfo) {
const language = userDictionaryInfo.language;
console.log("language:", language);
}