French translation #434

Merged
SlimGary merged 2 commits from FrenchTranslation into dev-1.8.1 2025-11-10 02:41:49 +00:00
3 changed files with 1581 additions and 1 deletions

View File

@@ -7,12 +7,13 @@ import zhTranslation from "../locales/zh/translation.json";
import deTranslation from "../locales/de/translation.json";
import ptbrTranslation from "../locales/pt-BR/translation.json";
import ruTranslation from "../locales/ru/translation.json";
import frTranslation from "../locales/fr/translation.json";
i18n
.use(LanguageDetector)
.use(initReactI18next)
.init({
supportedLngs: ["en", "zh", "de", "ptbr", "ru"],
supportedLngs: ["en", "zh", "de", "ptbr", "ru", "fr"],
fallbackLng: "en",
debug: false,
@@ -40,6 +41,9 @@ i18n
ru: {
translation: ruTranslation,
},
fr: {
translation: frTranslation,
},
},
interpolation: {

File diff suppressed because it is too large Load Diff

View File

@@ -19,6 +19,7 @@ const languages = [
nativeName: "Português Brasileiro",
},
{ code: "ru", name: "Russian", nativeName: "Русский" },
{ code: "fr", name: "French", nativeName: "Français" },
];
export function LanguageSwitcher() {