# Unable to use Internationalisation with auth0-angular

**URL:** <https://community.auth0.com/t/unable-to-use-internationalisation-with-auth0-angular/125080>\
**Category:** Get Help\
**Tags:** login-experience, new-universal-login-experience\
**Created:** [January 18, 2024, 9:23am UTC](https://community.auth0.com/t/unable-to-use-internationalisation-with-auth0-angular/125080 "2024-01-18T09:23:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mustafaabdeali284](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@mustafaabdeali284](https://community.auth0.com/u/mustafaabdeali284)\
**Post date:** [January 18, 2024, 9:23am UTC](https://community.auth0.com/t/unable-to-use-internationalisation-with-auth0-angular/125080/1 "2024-01-18T09:23:44Z")

</div>

I had followed these steps  
first of all i had selected languages from tenant dashboard.  
than in my login function i had added  
this.authService.loginWithRedirect({ authorizationParams: { screen\_hint:“login”,ui\_locales: ‘hi’ ,language: ‘hi’}} );

my login uri was like this  
[https://dev-v70f4pj5isuzog5z.us.auth0.com/login?state=hKFo2SAzb2ZzZVZpN1FHUkNrZ2dDZDU0WGFaT0dhM0syUDBDcKFupWxvZ2luo3RpZNkgSEVwYkdJeGlOVUgtOS1rVk5qdGVIdkhBbVhDOUhpTjWjY2lk2SBQVVBvQkVkSUkwbmxlR3hCZUFtcEJkbEplNGhjT0NRZg&client=PUPoBEdII0nleGxBeAmpBdlJe4hcOCQf&protocol=oauth2&scope=openid%20profile%20email&redirect\_uri=http%3A%2F%2Flocalhost%3A4500&screen\_hint=login&ui\_locales=hi&response\_type=code&response\_mode=query&nonce=SzVqcXl1RlpjYkNYNDNXSGJDMEk4MV9jSUlTRlNwV1VONk5GOGRKWFl1ZQ%3D%3D&code\_challenge=aCenWz2T1OFEvCyiYg\_S1f7Vp9laRJ5lDfF1VidEVdg&code\_challenge\_method=S256&auth0Client=eyJuYW1lIjoiQGF1dGgwL2F1dGgwLWFuZ3VsYXIiLCJ2ZXJzaW9uIjoiMi4yLjIiLCJlbnYiOnsiYW5ndWxhci9jb3JlIjoiMTYuMi4xMiJ9fQ%3D%3D](https://dev-v70f4pj5isuzog5z.us.auth0.com/login?state=hKFo2SAzb2ZzZVZpN1FHUkNrZ2dDZDU0WGFaT0dhM0syUDBDcKFupWxvZ2luo3RpZNkgSEVwYkdJeGlOVUgtOS1rVk5qdGVIdkhBbVhDOUhpTjWjY2lk2SBQVVBvQkVkSUkwbmxlR3hCZUFtcEJkbEplNGhjT0NRZg&client=PUPoBEdII0nleGxBeAmpBdlJe4hcOCQf&protocol=oauth2&scope=openid%20profile%20email&redirect_uri=http%3A%2F%2Flocalhost%3A4500&screen_hint=login&ui_locales=hi&response_type=code&response_mode=query&nonce=SzVqcXl1RlpjYkNYNDNXSGJDMEk4MV9jSUlTRlNwV1VONk5GOGRKWFl1ZQ%3D%3D&code_challenge=aCenWz2T1OFEvCyiYg_S1f7Vp9laRJ5lDfF1VidEVdg&code_challenge_method=S256&auth0Client=eyJuYW1lIjoiQGF1dGgwL2F1dGgwLWFuZ3VsYXIiLCJ2ZXJzaW9uIjoiMi4yLjIiLCJlbnYiOnsiYW5ndWxhci9jb3JlIjoiMTYuMi4xMiJ9fQ%3D%3D)

what should i do next.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [January 18, 2024, 4:46pm UTC](https://community.auth0.com/t/unable-to-use-internationalisation-with-auth0-angular/125080/3 "2024-01-18T16:46:36Z")

</div>

Hi @mustafaabdeali284,

Welcome to the Auth0 Community!

I have looked at your tenant settings and see that you have configured to use the Classic Universal Login experience.

When using the Classic Universal Login experience, localization is done through the login widget using the `language` configuration option.

Please refer to the following documentation:

- [Universal Login Internationalization](https://auth0.com/docs/customize/internationalization-and-localization/universal-login-internationalization#classic-universal-login-experience-localization)
- [Lock Configuration Options](https://auth0.com/docs/libraries/lock/lock-configuration#language-string-)

Let me know if you have any questions.

Thanks,  
Rueben

---

<div class="post-metadata">

**Author:** ![mustafaabdeali284](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@mustafaabdeali284](https://community.auth0.com/u/mustafaabdeali284)\
**Post date:** [January 19, 2024, 6:42am UTC](https://community.auth0.com/t/unable-to-use-internationalisation-with-auth0-angular/125080/4 "2024-01-19T06:42:33Z")

</div>

Thank you,everything resolved . I have one more Question can I pass language dynamically to authguard provided auth0-angular package. i am having an api which takes current website uri and provides language. I want to pass it in authguard ui\_locales.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [February 2, 2024, 6:42am UTC](https://community.auth0.com/t/unable-to-use-internationalisation-with-auth0-angular/125080/5 "2024-02-02T06:42:53Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [May 6, 2024, 3:47pm UTC](https://community.auth0.com/t/unable-to-use-internationalisation-with-auth0-angular/125080/6 "2024-05-06T15:47:51Z")

</div>

Hi @mustafaabdeali284,

Yes, you should be able to pass your preferred language to the `ui_locales` parameter in your login request.

For example:

```auto
https://{yourDomain}/authorize?
    response_type=code&
    client_id={yourClientId}&
    redirect_uri={https://yourApp/callback}&
    scope={scope}&
    audience={apiAudience}&
    state={state}&
    ui_locales=es

```

See [this documentation](https://auth0.com/docs/customize/internationalization-and-localization/universal-login-internationalization#set-tenant-supported-languages:~:text=The%20value%20of,in%20the%20UI.) as a reference.

Cheers,  
Rueben
