TX Text Control .NET Server

Javascript: UserDictionaryInfo.language Property

Property|Introduced in 25.0

Description

The user dictionary's language in the format languagecode2-country/regioncode2.

Syntax

<string> UserDictionaryInfo.language

Examples

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);
}