1
0
mirror of https://github.com/uetchy/namae.git synced 2025-08-20 18:08:11 +09:00

Add French language (#123)

* Add French language
* Add it to the footer
* fix: bump translation version

Co-authored-by: Yasuaki Uechi <y@uechi.io>
This commit is contained in:
Arnaud Lier
2020-08-04 16:06:23 +02:00
committed by GitHub
parent e42fac28a5
commit bc3b3241a9
3 changed files with 57 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import XHR from 'i18next-xhr-backend';
import LanguageDetector from 'i18next-browser-languagedetector';
import { initReactI18next } from 'react-i18next';
const TRANSLATION_VERSION = '2';
const TRANSLATION_VERSION = '3';
i18n
.use(Backend)
@@ -19,6 +19,7 @@ i18n
versions: {
en: TRANSLATION_VERSION,
de: TRANSLATION_VERSION,
fr: TRANSLATION_VERSION,
ja: TRANSLATION_VERSION,
'zh-Hans': TRANSLATION_VERSION,
'zh-Hant': TRANSLATION_VERSION,