vendor: amis 6.13.0 base (fork root)
This commit is contained in:
37
packages/amis-editor/i18nConfig.js
Normal file
37
packages/amis-editor/i18nConfig.js
Normal file
@@ -0,0 +1,37 @@
|
||||
module.exports = {
|
||||
entry: {
|
||||
dir: './src'
|
||||
},
|
||||
file: {
|
||||
test: /.*(ts|tsx|js|jsx)$/
|
||||
},
|
||||
ignore: {
|
||||
list: ['src/icons', 'src/locale']
|
||||
},
|
||||
importInfo: {
|
||||
source: 'i18n-runtime',
|
||||
imported: 'i18n',
|
||||
local: '_i18n'
|
||||
},
|
||||
i18nModule: 'i18n-runtime',
|
||||
languages: [
|
||||
{
|
||||
name: 'en-US',
|
||||
path: './src/locale'
|
||||
},
|
||||
{
|
||||
name: 'zh-CN',
|
||||
path: './src/locale'
|
||||
}
|
||||
],
|
||||
output: {
|
||||
fileName: 'editor-i18n',
|
||||
fileExtension: 'xlsx',
|
||||
path: './'
|
||||
},
|
||||
translate: {
|
||||
appId: '20230324001613652', // 私人翻译账户,如有国际化需求,请申请自己的百度翻译服务
|
||||
key: 'Sprp7Mz8_yydeyhYrgE0',
|
||||
host: 'http://api.fanyi.baidu.com'
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user