getLanguageCode()

Returns the language code of the language currently used in the editor interface. Use the language code to localize the content in your settings panel.

Syntax

Copy

Parameters

This method does not take any parameters.

Returns

Promise<string>

The editor's language code.

Example

Copy
Did this help?