Add ru locale

This commit is contained in:
Ildar Kamalov
2018-11-19 19:23:57 +03:00
parent 3779407291
commit 1ae6af44d1
6 changed files with 163 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ import langDetect from 'i18next-browser-languagedetector';
import vi from './__locales/vi.json';
import en from './__locales/en.json';
import ru from './__locales/ru.json';
export const languages = [
{
@@ -27,11 +28,14 @@ i18n
.use(reactI18nextModule) // passes i18n down to react-i18next
.init({
resources: {
en: {
translation: en,
},
vi: {
translation: vi,
},
en: {
translation: en,
ru: {
translation: ru,
},
},
fallbackLng: 'en',