added spanish translation

This commit is contained in:
Kausha.Shah 2019-09-26 15:58:58 +05:30
parent 7ad08e79c9
commit bbe14f4386
2 changed files with 34 additions and 0 deletions

View file

@ -3,6 +3,7 @@ import { initReactI18next } from 'react-i18next';
import LanguageDetector from 'i18next-browser-languagedetector';
import translationEN from './locales/en.json';
import translationDE from './locales/de.json';
import translationSP from './locales/sp.json';
import Config from './config';
const resources = {
@ -12,6 +13,9 @@ const resources = {
de: {
translation: translationDE,
},
sp: {
translation: translationSP
}
};
i18n