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.
The current locale as a string (e.g., "en-GB").
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.