Static ReadonlyeventsSupported events
Fired when locale changed
StaticcurrentStaticmessagesReturn the whole messages map (for vue-i18n initialisation).
StaticcmdGet a localized command message by group, command name, and key.
Command group name
Global command name
Message key under the command entry
localized string
StaticcmdGet localized command description
Command group name
Global command name
StaticcmdBuild a dotted localization key for a command message entry.
Command group name (e.g. "ACAD", "USER")
Global command name
Message key under the command entry
dotted path, e.g. "command.ACAD.undo.nothingToUndo"
StaticcmdGet localized command prommpt message
Command group name
Global command name
StaticgetReturn the messages object for a single locale.
StaticmergeDeep-merge a message dictionary into an existing locale.
StaticregisterRegister a plugin's messages. Alias for mergeLocaleMessage for consistency with vue-i18n.
StaticsetSet the current active locale for translation.
Locale to activate ("en" or "zh")
StaticsysGet a localized message for a system-group command entry.
Global command name
Message key under the command entry
localized string
StaticsysTries to find command in system group and gets its localized command description
StaticsysBuild the localization key for a system-group command message entry.
StaticsysTries to find command in system group and gets its localized command prompt message
StatictTranslate a dotted key path using the registry (no Vue required).
dotted path, e.g. "core.start" or "pluginX.button.ok"
Optionaloptions: AcApTranslateOptionsoptional fallback
translated string or fallback/key if not found
StaticuserGet a localized message for a user-group command entry.
Global command name
Message key under the command entry
localized string
StaticuserTries to find command in user group and gets its localized command description
StaticuserBuild the localization key for a user-group command message entry.
StaticuserTries to find command in user group and gets its localized command prompt message
A framework-agnostic i18n registry with vue-i18n-like API names.
Key methods: