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

feat: add zh-Hans (#119)

This commit is contained in:
2020-07-30 23:14:02 +09:00
committed by GitHub
parent 0d13c993ad
commit 815e29dddf
5 changed files with 80 additions and 20 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 = '1.18';
const TRANSLATION_VERSION = '1.19';
i18n
.use(Backend)
@@ -16,7 +16,11 @@ i18n
backends: [LocalStorageBackend, XHR],
backendOptions: [
{
versions: { en: TRANSLATION_VERSION, ja: TRANSLATION_VERSION },
versions: {
en: TRANSLATION_VERSION,
ja: TRANSLATION_VERSION,
'zh-Hans': TRANSLATION_VERSION,
},
},
],
},