Add french translation (#190)

This commit is contained in:
Nans-ssss authored and GitHub committed 2026-02-15 23:38:39 +08:00
1 parent 73473462fb
commit 5a69f52653
2 files changed
+40

No files matched your search

+3
View File
@@ -4,6 +4,7 @@ import LanguageDetector from 'i18next-browser-languagedetector'
import en from '../locales/en/common.json'
import zhCN from '../locales/zh-CN/common.json'
import zhTW from '../locales/zh-TW/common.json'
import frFR from '../locales/fr-FR/common.json'
i18n
.use(LanguageDetector)
@@ -14,6 +15,8 @@ i18n
'zh-CN': { common: zhCN },
zh: { common: zhCN },
'zh-TW': { common: zhTW },
fr: { common: frFR },
'fr-FR': { common: frFR },
},
fallbackLng: 'en',
interpolation: {