File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,6 @@ export const appearanceSection: SettingsSection = {
225225 title : i18n ( 'section.appearance' ) ,
226226 settings : [
227227 themeSetting ,
228- languageSetting ,
229228 invertedDisksSetting ,
230229 binaryDataInPlainTextDisplay ,
231230 showDomainDatabase ,
Original file line number Diff line number Diff line change @@ -2,16 +2,17 @@ import type {KeysData} from '@gravity-ui/i18n';
22import { I18N } from '@gravity-ui/i18n' ;
33import { configure as configureUiKit } from '@gravity-ui/uikit' ;
44
5- import { settingsManager } from '../../services/settings' ;
6- import { LANGUAGE_KEY } from '../constants' ;
7-
85enum Lang {
96 En = 'en' ,
107 Ru = 'ru' ,
118}
129
1310const defaultLang = Lang . En ;
14- const currentLang = settingsManager . readUserSettingsValue ( LANGUAGE_KEY , defaultLang ) as Lang ;
11+
12+ // Disable russian language while it is not properly supported
13+ // Force English locale for users who previously selected Russian when the setting was available
14+ // const currentLang = settingsManager.readUserSettingsValue(LANGUAGE_KEY, defaultLang) as Lang;
15+ const currentLang = Lang . En ;
1516
1617const i18n = new I18N ( {
1718 lang : currentLang ,
You can’t perform that action at this time.
0 commit comments