Hi folks,
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 actualAccept-Language: …
string isGerman - Germany (de-DE)
orGerman - Austria (de-AT)
- Even with
ui_locales=de en
in the request, Auth0 will automatically fall back to the browser accepted languages, and not matchui_locales=de
withAccept-Language: de-DE,en-GB;q=0.8,en-US;q=0.5,en;q=0.3
Any suggestion would be appreciated.
Thanks!