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

    Function getLocale

    • Gets the current locale from the cookie. If the cookie is not set, it defaults to "en-GB".

      To listen to changes, listen to the "rms-locale-change" event on the document body, which will have the new locale in the event detail.

      Returns `${Lowercase<string>}-${Uppercase<string>}`

      The current locale as a string (e.g., "en-GB").