Fix i18n
Some checks failed
Lint / lint (push) Has been cancelled

This commit is contained in:
Julien Valverdé
2025-10-14 21:08:27 +02:00
parent afabfc957b
commit b0408a8929
5 changed files with 9 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ import { en } from "./en"
import { fr } from "./fr"
export const defaultNS = "common"
export const resources = { en, fr } as const
await i18n
@@ -12,6 +13,7 @@ await i18n
.use(LanguageDetector)
.init({
supportedLngs: ["en", "fr"],
defaultNS,
resources,
interpolation: {
escapeValue: false