I18nPlugin
I18nPlugin
Signature
class I18nPlugin extends RuntimePlugin<LocalizationPluginOptions> {
    public readonly name = 'I18nPlugin';
    activate(ctx: CommandKitPluginRuntime) => Promise<void>;
    getLoadPath(cwd:  = getCurrentDirectory(), lng:  = '{{lng}}', ns:  = '{{ns}}') => ;
    performHMR(ctx: CommandKitPluginRuntime, event: CommandKitHMREvent) => Promise<void>;
    executeCommand(ctx: CommandKitPluginRuntime, env: CommandKitEnvironment, source: CommandSource, command: PreparedAppCommandExecution) => Promise<boolean>;
    prepareCommand(ctx: CommandKitPluginRuntime, command: CommandBuilderLike) => Promise<CommandBuilderLike | null>;
    onBeforeRegisterCommands(ctx: CommandKitPluginRuntime, event: PreRegisterCommandsEvent) => Promise<void>;
}
- Extends: RuntimePlugin<LocalizationPluginOptions>
name
property
activate
method
(ctx: CommandKitPluginRuntime) => Promise<void>getLoadPath
method
(cwd:  = getCurrentDirectory(), lng:  = '{{lng}}', ns:  = '{{ns}}') => performHMR
method
(ctx: CommandKitPluginRuntime, event: CommandKitHMREvent) => Promise<void>executeCommand
method
(ctx: CommandKitPluginRuntime, env: CommandKitEnvironment, source: CommandSource, command: PreparedAppCommandExecution) => Promise<boolean>prepareCommand
method
(ctx: CommandKitPluginRuntime, command: CommandBuilderLike) => Promise<CommandBuilderLike | null>onBeforeRegisterCommands
method
(ctx: CommandKitPluginRuntime, event: PreRegisterCommandsEvent) => Promise<void>