Pazisme Mod loading screen (#85)
Build / build (push) Successful in 58s
Lint / lint (push) Failing after 13s

Co-authored-by: Julien Valverdé <julien.valverde@mailo.com>
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud>
Reviewed-on: #85
This commit was merged in pull request #85.
This commit is contained in:
2026-05-17 19:31:28 +02:00
parent 8cd4caeaf0
commit d5191d6838
82 changed files with 3801 additions and 580 deletions
+24
View File
@@ -0,0 +1,24 @@
import i18n from "i18next"
import LanguageDetector from "i18next-browser-languagedetector"
import { initReactI18next } from "react-i18next"
import { en } from "./en"
import { fr } from "./fr"
export const defaultNS = "common"
export const resources = { en, fr } as const
await i18n
.use(initReactI18next)
.use(LanguageDetector)
.init({
fallbackLng: "en",
supportedLngs: ["en", "fr"],
defaultNS,
resources,
interpolation: {
escapeValue: false
},
})
export { i18n }