Load russian translation.
This commit is contained in:
parent
f8b3a900e8
commit
5c89c0c21f
|
@ -67,6 +67,7 @@ const pages = {
|
||||||
import i18next from 'i18next';
|
import i18next from 'i18next';
|
||||||
import translation_en from './translations/en.js'
|
import translation_en from './translations/en.js'
|
||||||
import translation_de from './translations/de.js'
|
import translation_de from './translations/de.js'
|
||||||
|
import translation_ru from './translations/ru.js'
|
||||||
import formatDistance from 'date-fns/formatDistance';
|
import formatDistance from 'date-fns/formatDistance';
|
||||||
|
|
||||||
|
|
||||||
|
@ -175,6 +176,7 @@ document.addEventListener('DOMContentLoaded', function () {
|
||||||
resources: {
|
resources: {
|
||||||
en: { translation: translation_en },
|
en: { translation: translation_en },
|
||||||
de: { translation: translation_de },
|
de: { translation: translation_de },
|
||||||
|
ru: { translation: translation_ru },
|
||||||
},
|
},
|
||||||
interpolation: {
|
interpolation: {
|
||||||
format: function (value, format, _) {
|
format: function (value, format, _) {
|
||||||
|
|
Loading…
Reference in a new issue