Skip to content

Build your personal knowledge base with Trilium Notes

i18n: Fix warning about missing dev language

Elian Doran557f6096b46e
diff --git a/src/public/app/services/i18n.js b/src/public/app/services/i18n.js
index 0c9a52a0da..f09e8d8813 100644
--- a/src/public/app/services/i18n.js
+++ b/src/public/app/services/i18n.js
@@ -6,10 +6,11 @@ await i18next
.use(i18nextHttpBackend)
.init({
lng: "en",
+ fallbackLng: "en",
debug: true,
backend: {
loadPath: `/${window.glob.assetPath}/translations/{{lng}}/{{ns}}.json`
- }
+ }
});
export const t = i18next.t;
\ No newline at end of file