From fe7b4eedea3ac9bdaea589050ecb2fdc9c75629b Mon Sep 17 00:00:00 2001 From: maxkadushkin Date: Tue, 13 May 2025 15:01:51 +0300 Subject: [PATCH] [desktop] method to get system keyboard languages --- apps/common/main/lib/controller/Desktop.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/common/main/lib/controller/Desktop.js b/apps/common/main/lib/controller/Desktop.js index cd2f7eb1d2..985a79401f 100644 --- a/apps/common/main/lib/controller/Desktop.js +++ b/apps/common/main/lib/controller/Desktop.js @@ -772,6 +772,9 @@ define([ uiRtlSupported: function () { return nativevars && nativevars.rtl != undefined; }, + systemLangs: function () { + return nativevars && nativevars.keyboard ? nativevars.keyboard.langs : undefined; + }, }; };