i18n 从基础配置好用
This commit is contained in:
14
src/lang/en-US.js
Normal file
14
src/lang/en-US.js
Normal 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'
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user