I have found a workaround in a way to use a localization vscode.l10n.bundle or vscode.l10n.uri, extract from it a needed information about current display language and even pass a ready-to-use localization vscode.l10n.bundle to WebView by webview.postMessage method.