Supported languages
The widget supports these languages out of the box. You do not need to add language resources for them.
Use these codes in the
languages and languageResources options.
Configure languages
By default, the widget is in English. You can configure the default language, which languages you want to show inside the widget, or in which language your users can see the widget if you hide the in-built language selection. There areallow, deny, and default options for language configuration.
Language resources
You can customize the widget to support any language that your dApp needs by providing language resources. If the widget does not support the language that you need, consider adding the language to the widget itself. Then all integrators can use it. See Contribute translations.en.json in our repository here.
Contribute translations
The widget translations are in the lifinance/widget repository. To fix or improve a translation, open a pull request in that repository:- Change the locale file of the language:
packages/widget/src/i18n/<code>.jsonorpackages/wallet-management/src/i18n/<code>.json. - Follow the translation guide (
TRANSLATING.md). The guide gives the rules and a glossary for each language.

