Description of icon
API Reference

LocalizationType

Localization Type object containing the locale tag, available locales, and a function to set the locale preference


Properties:

  • localeTag: string

    The preferred locale of the user

  • availableLocales: Array<AvailableLocale>

    The available locales in Flex UI

    • tag: string - The language tag of the locale
    • name: string - The name of the locale
  • setLocalePreference: function

    An async function which sets the preference of the user