diff --git a/app/locales/index.ts b/app/locales/index.ts index 22c417da5..7c88c0d22 100644 --- a/app/locales/index.ts +++ b/app/locales/index.ts @@ -66,6 +66,9 @@ function setItem(key: string, value: string) { } function getLanguage() { + if (typeof process === "object") { + return DEFAULT_LANG; + } try { return navigator.language.toLowerCase(); } catch {