support custom language packs

This commit is contained in:
就眠儀式
2022-02-11 13:40:31 +08:00
parent 118fde5dd1
commit 72204a673c
5 changed files with 114 additions and 50 deletions

View File

@@ -3,11 +3,11 @@ import zh_CN from "./zh_CN";
import en_US from './en_US';
const i18n = createI18n({
locale: 'en_US', // set locale
locale: 'en_US',
messages: {
zh_CN: zh_CN,
en_US: en_US,
},
})
export default i18n
export default i18n;