From a4fa880c3fea2ea6972e5b222b89dd151166d981 Mon Sep 17 00:00:00 2001 From: Kirill Smelkov Date: Fri, 22 Jan 2021 17:52:38 +0300 Subject: [PATCH] Enable Russian localization Russian translations are there, but globally disabled: as https://github.com/zhukov/webogram/issues/1598 explains "Russian" is not in the list of available languages. The fix is simple -> just reenable "ru-ru" in Config.I18n. Even if Russian translations are not in ideal shape (Transifex reports 86% for Russian), it should be good to enable the localization, and then the completeness of Russian language support could be further improved step-by-step. Some people prefer the WEB TG version instead of desktop app. I'm kind of newbie when it comes to javascript, but I tested this patch locally and it works for me - most of the UI becomes translated to Russian after this patch. Thanks beforehand, Kirill /cc @KDASOFT --- app/js/lib/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/lib/config.js b/app/js/lib/config.js index 21c863ba9..63090c3e1 100644 --- a/app/js/lib/config.js +++ b/app/js/lib/config.js @@ -64,7 +64,7 @@ Config.I18n = { , 'it-it' , 'nl-nl' , 'pt-br' - // ,"ru-ru" + , "ru-ru" ], // To be copied to package.json languages: { 'en-us': 'English',