Added Traditional Chinese language pack (#83)

* Create zhtw.ts

* Update index.ts

* Update README.md for Added Traditional Chinese language pack
This commit is contained in:
debian-go
2024-04-16 18:43:50 +08:00
committed by GitHub
parent 6a6d7d7c1a
commit 5b804eb149
3 changed files with 177 additions and 2 deletions
+4 -2
View File
@@ -2,7 +2,7 @@ import { createI18n } from 'vue-i18n'
import en from './en'
import fa from './fa'
import zhcn from './zhcn'
import zhtw from './zhtw'
export const i18n = createI18n({
legacy: false,
@@ -11,7 +11,8 @@ export const i18n = createI18n({
messages: {
en,
fa,
zhcn
zhcn,
zhtw
},
})
@@ -19,4 +20,5 @@ export const languages = [
{ title: 'English', value: 'en' },
{ title: 'فارسی', value: 'fa' },
{ title: '简体中文', value: 'zhcn' },
{ title: '繁體中文', value: 'zhtw' },
]