Ajout de la traduction française à l'interface utilisateur.

- Création du fichier de traduction `fr.json` en se basant sur `en.json`.
- Mise à jour de la configuration i18n pour inclure la langue française.
- Modification du sélecteur de langue pour afficher l'option "Français" avec le drapeau correspondant.
This commit is contained in:
google-labs-jules[bot]
2025-09-25 10:26:03 +00:00
committed by comeback01
parent da88e746ef
commit bea5dcd506
6 changed files with 2192 additions and 1 deletions

View File

@@ -22,6 +22,7 @@ import { initReactI18next } from 'react-i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import enTranslation from './locales/en.json';
import frTranslation from './locales/fr.json';
import zhTranslation from './locales/zh.json';
i18n
@@ -36,6 +37,9 @@ i18n
zh: {
translation: zhTranslation,
},
fr: {
translation: frTranslation,
},
},
fallbackLng: 'zh',
interpolation: {

2130
web/src/i18n/locales/fr.json Normal file

File diff suppressed because it is too large Load Diff