we’ve implemented Auth0 on a React SPA, and stumbled on a weird issues with localisation.
The language selection works when the user has “German [de]” as an accepted language but not with “German (Germany) [de-DE]” nor “German - Austria (de-AT)”
Our app sends the parameter
ui_locales=de en and and both German (en) and English (en) are enabled in Tenant Settings.
- German locale seems to kick in only if the user has the specific
German (de)language set in their browser. The actual
Accept-Language: …string is
German - Germany (de-DE)or
German - Austria (de-AT)
- Even with
ui_locales=de enin the request, Auth0 will automatically fall back to the browser accepted languages, and not match
Any suggestion would be appreciated.