Localization
Translation
The SDK provides the means to translate all text displayed on the UI. This is done by passing an object literal that acts as a dictionary lookup ({ [key: string]: string })
to the target component or JavaScript API instance. The property name is always translations
and is an optional property on all components, as well as the Sybrin.Identity.Options
instance passed to the JavaScript API.
The keys within the dictionary lookup are used to target specific text for translation, then the text is replaced with the provided value corresponding to the key.
Keys may be translation keys, or the exact source text that should be replaced.
The following table details all translations available in the Identity SDK:
Last updated