@solisware/electron-menu-i18next API - v1.0.2
    Preparing search index...

    Interface LocalizeMenuOptions

    Configuration used to translate role-based menu labels.

    interface LocalizeMenuOptions {
        appName?: string;
        fallbackLabels?: Partial<Record<string, string>>;
        keyPrefix?: string;
        t: TFunction;
    }
    Index
    appName?: string

    Interpolated into labels that reference it, e.g. "About {{appName}}", "Quit {{appName}}". Uses a generic label such as "About" or "Quit" when omitted.

    fallbackLabels?: Partial<Record<string, string>>

    Per-role English fallback overrides, resolved before the built-in DEFAULT_ROLE_LABELS. Used when a translation key is missing.

    keyPrefix?: string

    Namespace/key prefix used to look up role labels. Default: "menu.roles" — e.g. role "quit" looks up "menu.roles.quit".

    t: TFunction

    i18next t function (or i18next.getFixedT(lng), or useTranslation().t).