@theoplayer/react-ui
    Preparing search index...

    Function addLocale

    • Register a new locale with the given name.

      The locale's name should preferably be a BCP 47 language identifier, so it can be set as a valid lang attribute of the UI.

      Parameters

      • name: string

        The name of the locale.

      • locale: PartialLocale

        The locale.

      Returns void