This commit is contained in:
Timothy Jaeryang Baek 2025-03-05 14:54:48 -08:00
parent 73a77abd20
commit edf94d732b

View File

@ -476,7 +476,7 @@
// Initialize i18n even if we didn't get a backend config,
// so `/error` can show something that's not `undefined`.
initI18n();
initI18n(localStorage?.locale);
if (!localStorage.locale) {
const languages = await getLanguages();
const browserLanguages = navigator.languages