Skip to content

Commit e7c4cd7

Browse files
committed
remove browser locales from language dropdown
1 parent 039e882 commit e7c4cd7

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

frontend/src/utils/localize.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,7 @@ export class Localize {
6464
}
6565

6666
get languages() {
67-
return uniq([
68-
...translatedLocales,
69-
...window.navigator.languages.map(langShortCode),
70-
]);
67+
return uniq([...translatedLocales]);
7168
}
7269

7370
constructor(initialLanguage: LanguageCode = sourceLocale) {

0 commit comments

Comments
 (0)