This section of the API relates to the methods used for localization.
Returns the BCP 47 language code currently being used in the application. If no language code is found, a fallback locale of "en-US" is returned.
const language = window.sas.smi.util.l10n.getLanguage();console.log(language); Copy
const language = window.sas.smi.util.l10n.getLanguage();console.log(language);
This section of the API relates to the methods used for localization.