# Internationalization of login screen issue

**URL:** <https://community.auth0.com/t/internationalization-of-login-screen-issue/56078>\
**Category:** Get Help\
**Created:** [January 12, 2021, 5:02pm UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078 "2021-01-12T17:02:27Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![kamil.slusarczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kamil.slusarczyk/32/13002_2.png) [@kamil.slusarczyk](https://community.auth0.com/u/kamil.slusarczyk)\
**Post date:** [January 12, 2021, 5:02pm UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/1 "2021-01-12T17:02:28Z")

</div>

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](https://auth0.com/docs/universal-login/universal-login-internationalization) 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`

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 14, 2021, 10:09am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/3 "2021-01-14T10:09:42Z")

</div>

Czesc Kamil! Is it displayed in Polish on either of the browsers?

---

<div class="post-metadata">

**Author:** ![kamil.slusarczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kamil.slusarczyk/32/13002_2.png) [@kamil.slusarczyk](https://community.auth0.com/u/kamil.slusarczyk)\
**Post date:** [January 14, 2021, 10:13am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/4 "2021-01-14T10:13:16Z")

</div>

Cześć! 🙂

No, it is not. It is displayed in English on both of them. Can it be because my Windows distribution has English language set?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 14, 2021, 10:16am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/5 "2021-01-14T10:16:32Z")

</div>

I’m not sure experienced with Angular but let me dive quickly in our docs and I will get back to you shortly when I find something!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 14, 2021, 10:34am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/7 "2021-01-14T10:34:13Z")

</div>

It seems that it should be working. straight away with adjusting the language in tenant settings:

[https://auth0.com/docs/universal-login/universal-login-internationalization#setting-the-tenant-supported-languages](https://auth0.com/docs/universal-login/universal-login-internationalization?_ga=2.225870300.796096675.1610352072-1797533937.1608194655#setting-the-tenant-supported-languages)

In the General tab on your Tenant Settings you will be able to select the languages you would like to allow.

---

<div class="post-metadata">

**Author:** ![kamil.slusarczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kamil.slusarczyk/32/13002_2.png) [@kamil.slusarczyk](https://community.auth0.com/u/kamil.slusarczyk)\
**Post date:** [January 14, 2021, 10:37am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/8 "2021-01-14T10:37:39Z")

</div>

I have it configured like that:

 ![image](https://global.discourse-cdn.com/auth0/original/3X/1/1/11ac03285bdbc898893158553c487dd909250947.png)

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 14, 2021, 10:39am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/9 "2021-01-14T10:39:29Z")

</div>

What if you tick off English and German? I’m wondering if it’s not messing with your Angular code snippet

---

<div class="post-metadata">

**Author:** ![kamil.slusarczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kamil.slusarczyk/32/13002_2.png) [@kamil.slusarczyk](https://community.auth0.com/u/kamil.slusarczyk)\
**Post date:** [January 14, 2021, 10:40am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/10 "2021-01-14T10:40:06Z")

</div>

I had it configured as only Polish earlier. No difference, unfortunately.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 14, 2021, 10:44am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/11 "2021-01-14T10:44:33Z")

</div>

Ok then it’s the angular part. Give me a few more minutes

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 14, 2021, 10:59am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/12 "2021-01-14T10:59:30Z")

</div>

I went through all the docs on customising language of New UL and it seems that you can’t do anything more on your end. I’m gonna bring this to the attention of teams responsible for Universal Login and once I have any info from them I’ll let you know!

---

<div class="post-metadata">

**Author:** ![kamil.slusarczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kamil.slusarczyk/32/13002_2.png) [@kamil.slusarczyk](https://community.auth0.com/u/kamil.slusarczyk)\
**Post date:** [January 14, 2021, 11:00am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/13 "2021-01-14T11:00:28Z")

</div>

Thank you very much for that. I will wait for them to answer, then.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 14, 2021, 11:03am UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/14 "2021-01-14T11:03:11Z")

</div>

Thank you a lot and sorry for the inconvenience!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 15, 2021, 1:44pm UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/15 "2021-01-15T13:44:20Z")

</div>

That is really weird but I asked the main maintainer of our angular sdk to test this and they got it working with ui\_locales: ‘pl’

 ![image](https://global.discourse-cdn.com/auth0/original/3X/9/2/92d54e52e14954d18338d942609bf5fd8c378805.png)

---

<div class="post-metadata">

**Author:** ![kamil.slusarczyk](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kamil.slusarczyk/32/13002_2.png) [@kamil.slusarczyk](https://community.auth0.com/u/kamil.slusarczyk)\
**Post date:** [January 15, 2021, 3:39pm UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/16 "2021-01-15T15:39:45Z")

</div>

In order to double-check this, I have once again followed the setup guide and still received an English login page.

I assume that this maintainer has a browser and OS set to English language, right?

Is there a possiblity to share this codebase for me to launch it on my local PC?

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 19, 2021, 4:07pm UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/17 "2021-01-19T16:07:42Z")

</div>

Hey there Kamil!

Sorry for the delay in response.

Here are the steps how we tested this:

- Used this [repo](https://github.com/auth0-samples/auth0-angular-samples/tree/master/Sample-01)
- Changed [this line](https://github.com/auth0-samples/auth0-angular-samples/blob/master/Sample-01/src/app/components/nav-bar/nav-bar.component.ts#L24) to [this](https://github.com/auth0-samples/auth0-angular-samples/blob/master/Sample-01/src/app/components/nav-bar/nav-bar.component.ts#L24)

```auto
loginWithRedirect() {
  this.auth.loginWithRedirect({
    ui_locales: 'pl'
  });
}

```

Shows up in Polish when using the New UL. You do have to enable pl locale in tenant settings.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [January 28, 2021, 4:17pm UTC](https://community.auth0.com/t/internationalization-of-login-screen-issue/56078/18 "2021-01-28T16:17:16Z")

</div>


