Overview
This article provides steps to troubleshoot issues with custom text or language when using Universal Login.
Applies To
- Universal login
- Custom text
- Language
Solution
Auth0 supports different languages listed in the document Universal Login Internationalization
Universal Login allows the setting of custom text depending on the prompt and screen, and the custom text can also be configured per language. See Customize Universal Login Text Elements for more details.
- Auth0 will select the appropriate language to render the universal login screen based on the value of the Accept-Language HTTP header sent by the browser. If the language sent by the browser is not enabled, the default language will be used.
- The custom text used will also depend on the value of this header.
By default, the browser will use the language (Locale) based on the device’s language settings, which can make troubleshooting or testing different languages complicated.
Using Chrome, it is possible to override the Accept-Language header and set custom values to test the Universal Login screen and custom text for different languages:
- Open dev tools (F12)
- Open the console drawer
- Open the sensors tab
- Select the required locale value
- Navigate to the login screen