mirror of
https://git.netzspielplatz.de/docker-multiarch/openwrt-firmware-selector.git
synced 2025-11-08 20:39:25 +00:00
mapped in i18n.js
This commit is contained in:
parent
627d6e289a
commit
a1733a1b72
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import { initReactI18next } from 'react-i18next';
|
||||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||||
import translationEN from './locales/en.json';
|
import translationEN from './locales/en.json';
|
||||||
import translationDE from './locales/de.json';
|
import translationDE from './locales/de.json';
|
||||||
|
import translationRU from './locales/ru.json';
|
||||||
import Config from './config';
|
import Config from './config';
|
||||||
|
|
||||||
const resources = {
|
const resources = {
|
||||||
|
|
@ -12,6 +13,8 @@ const resources = {
|
||||||
de: {
|
de: {
|
||||||
translation: translationDE,
|
translation: translationDE,
|
||||||
},
|
},
|
||||||
|
ru: {
|
||||||
|
translation: translationRU,
|
||||||
};
|
};
|
||||||
|
|
||||||
i18n
|
i18n
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue