Skip to main content

Overview

The Knot SDK supports localization, allowing you to present the merchant linking experience in your users’ preferred language. Localization is controlled via the locale parameter, a BCP-47 language tag passed when configuring the SDK.

Supported Locales

LocaleLanguageRegion
en-USEnglishU.S.
es-USSpanishU.S.
If no locale is provided, the SDK defaults to en-US.

Usage

Pass the locale parameter when configuring the SDK to localize the experience. For example, to display the SDK in Spanish:
Javascript
knotapi.open({
  sessionId: "Your Session ID",
  clientId: "Your Client ID",
  environment: "production",
  locale: "es-US",
  // ... other parameters
});
The locale parameter is available across all SDK platforms. See the iOS and Android SDK guides for platform-specific examples.

What is Localized

When a supported locale is set, all text in the Knot SDK is localized. Merchant login flows are also localized if the merchant supports the provided locale.