set(locale: Language)
: This method is used to set the language in the UI Kit. It takes the enum value from Language enum and sets the value accordingly.
getLocale( )
: This method is used to get the current language. By default, it will return the current language from the device/browser.