diff --git a/web_app/static/index.html b/web_app/static/index.html index 84d7010..e562429 100644 --- a/web_app/static/index.html +++ b/web_app/static/index.html @@ -414,7 +414,7 @@ - + \ No newline at end of file diff --git a/web_app/static/js/app.js b/web_app/static/js/app.js index 612aa88..fb239e6 100644 --- a/web_app/static/js/app.js +++ b/web_app/static/js/app.js @@ -218,7 +218,8 @@ function initApp() { try { tg.setHeaderColor('#0f172a'); } catch (e) { } currentState.user = tg.initDataUnsafe?.user; - if (tg.initDataUnsafe?.user?.language_code === 'ru') { + const userLang = (tg.initDataUnsafe?.user?.language_code || 'en').toLowerCase(); + if (userLang === 'ru' || userLang.startsWith('ru')) { currentState.lang = 'ru'; }