committed by
陈帅
5 changed files with 78 additions and 19 deletions
@ -0,0 +1,14 @@ |
|||||
|
import appLocaleData from 'react-intl/locale-data/en'; |
||||
|
import antdEn from 'antd/lib/locale-provider/en_US'; |
||||
|
// import enMessages from '../../locales/en.json';
|
||||
|
|
||||
|
export default { |
||||
|
locale: 'en-US', |
||||
|
data: appLocaleData, |
||||
|
antd: antdEn, |
||||
|
messages: { |
||||
|
'app.home.introduce': 'introduce', |
||||
|
'app.analysis.test': 'Gongzhuan road No.{no} shop', |
||||
|
// ...enMessages,
|
||||
|
}, |
||||
|
}; |
||||
@ -0,0 +1,14 @@ |
|||||
|
import appLocaleData from 'react-intl/locale-data/zh'; |
||||
|
import antdZh from 'antd/lib/locale-provider/zh_CN'; |
||||
|
// import zhMessages from '../../locales/zh.json';
|
||||
|
|
||||
|
export default { |
||||
|
locale: 'zh-CN', |
||||
|
data: appLocaleData, |
||||
|
antd: antdZh, |
||||
|
messages: { |
||||
|
'app.home.introduce': '介绍', |
||||
|
'app.analysis.test': '工专路 {no} 号店', |
||||
|
// ...zhMessages,
|
||||
|
}, |
||||
|
}; |
||||
Loading…
Reference in new issue