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>
Throws
Will throw an error if the fetch request to update the SSO locale fails.
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.