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