Auto select language implementation

pull/331/head
Thomas David 2024-04-28 11:54:59 +02:00 committed by Samuel H
parent 854de76467
commit 5fd7b368e2
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ export interface Localizable {
const DEFAULT_LANGUAGE_OVERRIDE = '';
export function initI18n(): void {
let lang = 'en';
let lang = navigator.language;
if (localStorage.getItem('prLang'))
lang = localStorage.getItem('prLang');