i18n 从基础配置好用

This commit is contained in:
zhangshun
2026-05-27 17:12:02 +08:00
parent bab5ee5554
commit 52131ade2a
7 changed files with 137 additions and 18 deletions

14
src/lang/en-US.js Normal file
View File

@@ -0,0 +1,14 @@
import enLocale from 'element-ui/lib/locale/lang/en'
export default {
...enLocale,
common: {
confirm: 'Confirm',
cancel: 'Cancel',
home: 'Home',
logout: 'Logout',
language: 'Language',
chinese: 'Chinese',
english: 'English'
}
}