MAIDR JavaScript API
    Preparing search index...
    • The active locale and a translation function bound to it.

      Subscribes the component to locale changes, so a component that renders t('…') re-renders in the new language the moment the settings save — a module-level t alone would leave already-mounted dialogs in the old one.

      Returns LocaleApi

      The active locale and its t