From ec4e030e72d80f02ed4793bcaecbc05bfae93a89 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Mon, 20 Jul 2020 01:38:02 -0400 Subject: [PATCH] Enable new languages --- i18n.js | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/i18n.js b/i18n.js index 8901124..6c4d3fc 100644 --- a/i18n.js +++ b/i18n.js @@ -3,15 +3,37 @@ import i18next from 'i18next'; import { initReactI18next } from 'react-i18next'; import en from './langs/en.json'; +import ar from './langs/ar.json'; +import cs from './langs/cs.json'; +import da from './langs/da.json'; import de from './langs/de.json'; import es from './langs/es.json'; +import es_AR from './langs/es_AR.json'; import fr from './langs/fr.json'; +import it from './langs/it.json'; +import nb_NO from './langs/nb_NO.json'; +import sk from './langs/sk.json'; +import sl from './langs/sl.json'; +import sv from './langs/sv.json'; +import zh_Hans from './langs/zh_Hans.json'; +import zh_Hant from './langs/zh_Hant.json'; const resources = { en: { translation: en }, + ar: { translation: ar }, + cs: { translation: cs }, + da: { translation: da }, de: { translation: de }, es: { translation: es }, - fr: { translation: fr } + 'es-AR': { translation: es_AR }, + fr: { translation: fr }, + it: { translation: it }, + 'nb-NO': { translation: nb_NO }, + sk: { translation: sk }, + sl: { translation: sl }, + sv: { translation: sv }, + 'zh-Hans': { translation: zh_Hans }, + 'zh-Hant': { translation: zh_Hant } }; i18next