French translation (#434)
* Adding French Language * Enhancements
This commit was merged in pull request #434.
This commit is contained in:
@@ -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: {
|
||||
|
||||
1575
src/locales/fr/translation.json
Normal file
1575
src/locales/fr/translation.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user