MCPcopy
hub / github.com/baidu/amis / getI18nEnabled

Function getI18nEnabled

packages/amis-editor-core/src/util.ts:1156–1158  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1154
1155/** 是否开启应用国际化 */
1156export function getI18nEnabled() {
1157 return (window as any)?.editorStore?.i18nEnabled ?? false;
1158}
1159
1160/** schema 翻译方法 */
1161export function translateSchema(schema: any, replaceData?: any, skipFn?: any) {

Callers 15

DrawerPluginClass · 0.90
StatusPluginClass · 0.90
CollapsePluginClass · 0.90
TabsPluginClass · 0.90
CardsPluginClass · 0.90
ListItemPluginClass · 0.90
CollapseGroupPluginClass · 0.90
scaffoldFormMethod · 0.90
ListPluginClass · 0.90
List2PluginClass · 0.90
ImagesPluginClass · 0.90
scaffoldFormMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected