cockpit-plugin-base-react - v1.1.1
    Preparing search index...

    Function initCockpitI18n

    • Initialises i18next with Cockpit's active locale and sets up a live observer so the UI re-translates when the user switches language in Cockpit settings.

      Call once at plugin startup, before bootstrapPlugin.

      Parameters

      Returns void