forked from tuvn86/webapp-conversation
feat: add spanish language
This commit is contained in:
parent
c8f730208d
commit
f7ff288ff1
5 changed files with 76 additions and 2 deletions
|
|
@ -2,8 +2,10 @@
|
|||
import i18n from 'i18next'
|
||||
import { initReactI18next } from 'react-i18next'
|
||||
import commonEn from './lang/common.en'
|
||||
import commonEs from './lang/common.es'
|
||||
import commonZh from './lang/common.zh'
|
||||
import appEn from './lang/app.en'
|
||||
import appEs from './lang/app.es'
|
||||
import appZh from './lang/app.zh'
|
||||
import type { Locale } from '.'
|
||||
|
||||
|
|
@ -14,6 +16,12 @@ const resources = {
|
|||
app: appEn,
|
||||
},
|
||||
},
|
||||
'es': {
|
||||
translation: {
|
||||
common: commonEs,
|
||||
app: appEs,
|
||||
},
|
||||
},
|
||||
'zh-Hans': {
|
||||
translation: {
|
||||
common: commonZh,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue