mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 04:30:06 +00:00
feat(i18n): add locales
This commit is contained in:
@@ -7,26 +7,34 @@ import itTranslation from "../locales/it/translation.json"
|
||||
import ruTranslation from "../locales/ru/translation.json"
|
||||
import zhCNTranslation from "../locales/zh-CN/translation.json"
|
||||
import zhTWTranslation from "../locales/zh-TW/translation.json"
|
||||
import esTranslation from "../locales/es/translation.json"
|
||||
import taTranslation from "../locales/ta/translation.json"
|
||||
|
||||
const resources = {
|
||||
"en-US": {
|
||||
translation: enTranslation,
|
||||
},
|
||||
"it-IT": {
|
||||
translation: itTranslation,
|
||||
},
|
||||
"ru-RU": {
|
||||
translation: ruTranslation,
|
||||
},
|
||||
"zh-CN": {
|
||||
translation: zhCNTranslation,
|
||||
},
|
||||
"zh-TW": {
|
||||
translation: zhTWTranslation,
|
||||
},
|
||||
"en-US": {
|
||||
translation: enTranslation,
|
||||
},
|
||||
"ru-RU": {
|
||||
translation: ruTranslation,
|
||||
},
|
||||
"es-ES": {
|
||||
translation: esTranslation,
|
||||
},
|
||||
"de-DE": {
|
||||
translation: deTranslation,
|
||||
},
|
||||
"ta-IN": {
|
||||
translation: taTranslation,
|
||||
},
|
||||
"it-IT": {
|
||||
translation: itTranslation,
|
||||
},
|
||||
}
|
||||
|
||||
const getStoredLanguage = () => {
|
||||
|
||||
Reference in New Issue
Block a user