Auto select language implementation

This commit is contained in:
Thomas David authored and Samuel H committed 2024-04-28 09:38:16 -04:00
1 parent 854de76467
commit 5fd7b368e2
1 file changed
+1 -1
+1 -1
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');