Appearance
@swapped/connect-sdk / locales
locales
Locale helpers for @swapped/connect-sdk.
Import from @swapped/connect-sdk/locales.
Locales
Functions
- appendSdkLng
- applySessionLocale
- canUseLocalesBaseUrlOverride
- getDefaultLocaleUrl
- interpolate
- isLocaleExplicitlySet
- isSupportedLocale
- loadCatalog
- normalizeLocaleTag
References
DEFAULT_LOCALE
Re-exports DEFAULT_LOCALE
detectBrowserLocale
Re-exports detectBrowserLocale
getLocale
Re-exports getLocale
isLocaleLoading
Re-exports isLocaleLoading
LocaleCatalog
Re-exports LocaleCatalog
onLocaleChange
Re-exports onLocaleChange
preloadLocales
Re-exports preloadLocales
SDK_LNG_PARAM
Re-exports SDK_LNG_PARAM
SDK_LOCALES_MAJOR_VERSION
Re-exports SDK_LOCALES_MAJOR_VERSION
SdkLocale
Re-exports SdkLocale
setLocale
Re-exports setLocale
setTranslator
Re-exports setTranslator
SUPPORTED_LOCALES
Re-exports SUPPORTED_LOCALES
translate
Re-exports translate
TranslateFn
Re-exports TranslateFn
TranslateParams
Re-exports TranslateParams