Skip to content

@swapped/connect-sdk / locales / setLocalesBaseUrl

Function: setLocalesBaseUrl() ​

setLocalesBaseUrl(baseUrl): void

Defined in: src/locales/locale.load.ts:51

Override the locale catalog host (process-wide). The SDK appends /sdk-locales/v1/{locale}.json. Local-development only - ignored with a warning when the page or the URL is not localhost.

Parameters ​

baseUrl ​

string | null | undefined

Returns ​

void