diff --git a/src/public/app/services/i18n.ts b/src/public/app/services/i18n.ts index 7e9be3a09..3d82c0e1d 100644 --- a/src/public/app/services/i18n.ts +++ b/src/public/app/services/i18n.ts @@ -4,7 +4,7 @@ import options from "./options.js"; await library_loader.requireLibrary(library_loader.I18NEXT); export async function initLocale() { - const locale = options.get("locale") || "en"; + const locale = (options.get("locale") as string) || "en"; await i18next .use(i18nextHttpBackend)