mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-31 16:18:16 +00:00
11 lines
278 B
TypeScript
11 lines
278 B
TypeScript
import { createIntl } from '@alilc/lowcode-editor-core';
|
|
import en_US from './en-US.json';
|
|
import zh_CN from './zh-CN.json';
|
|
|
|
const { intl, intlNode, getLocale, setLocale } = createIntl({
|
|
'en-US': en_US,
|
|
'zh-CN': zh_CN,
|
|
});
|
|
|
|
export { intl, intlNode, getLocale, setLocale };
|