feat(frontend): scaffold i18n init, fr.json (~140 keys), status map, format helpers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Knacky
2026-06-21 23:21:02 +02:00
parent 51fb2e4f95
commit 3723bd009b
6 changed files with 553 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import fr from './fr.json';
i18n.use(initReactI18next).init({
resources: { fr: { translation: fr } },
lng: 'fr',
fallbackLng: 'fr',
interpolation: { escapeValue: false },
returnEmptyString: false,
});
export default i18n;