Hi,
I have a problem with setting language of login page. I am using new universal login page. I have set polish language in tenant settings as available (and default). During authorize request this value is sent in query string as ui_locales=pl. The problem is, that the login screen is still displayed in English.
My code to configure this is rather simple:
<button (click)="auth.loginWithRedirect({ui_locales: 'pl'})">Log in</button>
I have also tried with ui_locales
set to po
since this is the code shown in this site (pl
is used in tenant settings). It didn’t work anyways.
Where is my mistake?
Thanks,
Kamil
- Which SDK this is regarding: @auth0/auth0-angular
- SDK Version: 1.3.1
- Platform Version: Angular 11
I am receiving such response from browsers:
Edge: accept-language: en-GB,en;q=0.9,en-US;q=0.8,pl;q=0.7
Chrome: accept-language: pl-PL,pl;q=0.9,en-US;q=0.8,en;q=0.7