Customization
Translations
Discover how you can customize your UI components translations to align with your preferences and needs.
Custom translations can serve two main purposes:
- Support other languages
- Customize the standard texts of the components
For both cases, you add your custom translation by creating your own translation file. To see the structure of a translation file, please take a look at our default translations for “en” here.
By setting the autoDetectLanguage
to true in the CorbadoProvider
component, the component can automatically detect a user’s browser language and adjust all wordings accordingly.
If a language is not supported by Corbado yet, the component will default to “en”.
Custom Translations
To use this translation now, supply it to the CorbadoProvider
(see your framework’s integration guide for more details).