Adjust language & default country code
Here is how to automatically show humanID in your user's language, and with a specific country code pre-selected
humanID is available in 26 languages (and if your language is not supported, please submit a push request with translations via our github). The 'country code' preselected can also be adjusted, and if your users come from a handful of countries, those can be shown on top of the list.
To adjust the language and 'priority countries' of the user frontend, humanID integration partners can set URL parameters. Users can also manually change the language from a dropdown.
Here is how:
Setting URL Parameters
How to select SMS message language
Change the OTP_REQUEST_MESSAGE variable of the localization function, and choose one of the variables listed on our GitHub.
Web SDK
Mobile SDKs
Android SDK
.setDefaultLanguage(SupportedLanguage.FRENCH)
iOS
language: SupportedLanguage.ENGLISH_US
Last updated