From 0d7bf505810602e73b168bde6887f76e315c50ae Mon Sep 17 00:00:00 2001 From: Fabio Berger Date: Wed, 21 Feb 2018 10:31:31 -0800 Subject: Re-set language to browser --- packages/website/ts/utils/translate.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/website/ts') diff --git a/packages/website/ts/utils/translate.ts b/packages/website/ts/utils/translate.ts index db8683aa2..524a22c12 100644 --- a/packages/website/ts/utils/translate.ts +++ b/packages/website/ts/utils/translate.ts @@ -39,7 +39,7 @@ export class Translate { } else if (_.includes(browserLanguage, 'ru-')) { language = Language.Russian; } - this.setLanguage(Language.Russian); + this.setLanguage(language); } public getLanguage() { return this._selectedLanguage; -- cgit