Skip to content

Commit 1c12b1d

Browse files
authored
Update i18next-config.ts
1 parent 8d21cbc commit 1c12b1d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

i18n/i18next-config.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@ import { initReactI18next } from 'react-i18next'
44
import commonEn from './lang/common.en'
55
import commonEs from './lang/common.es'
66
import commonZh from './lang/common.zh'
7+
import commonVi from './lang/common.vi'
78
import appEn from './lang/app.en'
89
import appEs from './lang/app.es'
910
import appZh from './lang/app.zh'
11+
import appVi from './lang/app.vi'
1012
import toolsEn from './lang/tools.en'
1113
import toolsZh from './lang/tools.zh'
14+
import toolsVi from './lang/tools.vi'
1215
import type { Locale } from '.'
1316

1417
const resources = {
@@ -34,6 +37,14 @@ const resources = {
3437
tools: toolsZh,
3538
},
3639
},
40+
'vi': {
41+
translation: {
42+
common: commonVi,
43+
app: appVi,
44+
// tools
45+
tools: toolsVi,
46+
},
47+
}
3748
}
3849

3950
i18n.use(initReactI18next)

0 commit comments

Comments
 (0)