Caspeco WebComponents - v3.12.0
    Preparing search index...

    Function setLocale

    • Sets the locale for the application. This will update the locale in the SSO if an environment is specified, and then dispatch a "rms-locale-change" event that components can listen for to update their locale.

      Parameters

      • options: SetLocaleOptions

        The options for setting the locale, including the new locale and the SSO environment to update.

      Returns Promise<void>

      Will throw an error if the fetch request to update the SSO locale fails.