This commit is contained in:
2026-04-02 14:29:36 +02:00
parent a270deb2db
commit 039fa0bc80
54 changed files with 4944 additions and 170 deletions

18
src/i18n/index.ts Normal file
View File

@@ -0,0 +1,18 @@
import i18n from "i18next"
import { initReactI18next } from "react-i18next"
import en from "./en.json"
import de from "./de.json"
i18n.use(initReactI18next).init({
resources: {
en: { translation: en },
de: { translation: de },
},
lng: "en",
fallbackLng: "en",
interpolation: {
escapeValue: false,
},
})
export default i18n