mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-01-11 00:08:16 +00:00
11 lines
274 B
TypeScript
11 lines
274 B
TypeScript
import { createIntl } from '@alilc/lowcode-editor-core';
|
|
import enUS from './en-US.json';
|
|
import zhCN from './zh-CN.json';
|
|
|
|
const { intl, intlNode, getLocale, setLocale } = createIntl({
|
|
'en-US': enUS,
|
|
'zh-CN': zhCN,
|
|
});
|
|
|
|
export { intl, intlNode, getLocale, setLocale };
|