# Set languaage when opening lock popup

**URL:** <https://community.auth0.com/t/set-languaage-when-opening-lock-popup/88095>\
**Category:** Get Help\
**Tags:** auth0-lock\
**Created:** [August 3, 2022, 9:21am UTC](https://community.auth0.com/t/set-languaage-when-opening-lock-popup/88095 "2022-08-03T09:21:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kormik](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kormik/32/25597_2.png) [@kormik](https://community.auth0.com/u/kormik)\
**Post date:** [August 3, 2022, 9:21am UTC](https://community.auth0.com/t/set-languaage-when-opening-lock-popup/88095/1 "2022-08-03T09:21:19Z")

</div>

I am using Auth0 Lock library and I would like to set language when opening login popup, but it seems it’s only possible to set it when instantiating the Auth0Lock.  
In our app user can change the language and then click on login and I would like to reflect selected language in login popup.

This sets the language

```auto
auth0Client = new Auth0Lock(clientId, domain, {
    language: 'cs'
})

```

but this has no effect:

```auto
auth0Client.show({
    language: 'cs'
})

```

---

<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:** [August 5, 2022, 7:00pm UTC](https://community.auth0.com/t/set-languaage-when-opening-lock-popup/88095/3 "2022-08-05T19:00:53Z")

</div>

Hi @kormik,

Welcome to the Auth0 Community!

I understand that you are trying to set the Czech language in Lock.

In this situation, I recommend reviewing our [Language translation in Classic Universal Login](https://community.auth0.com/t/language-translation-in-classic-universal-login/88074) FAQ, which goes into further detail on how to set your desired language in Lock.

Please let me know if you have any questions or need help with implementation.

Thank you.

---

<div class="post-metadata">

**Author:** ![kormik](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kormik/32/25597_2.png) [@kormik](https://community.auth0.com/u/kormik)\
**Post date:** [August 9, 2022, 2:11pm UTC](https://community.auth0.com/t/set-languaage-when-opening-lock-popup/88095/4 "2022-08-09T14:11:46Z")

</div>

Hi, thank you for your reply.  
To clarify it:  
I am able to set the language via options when I create instance of Auth0Lock, but I can’t do it when I call show() method. It seems to me like a bug in the library. This force me to create new instance of Auth0Lock every time a need to show login popup.

Thanks

---

<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:** [August 15, 2022, 11:53pm UTC](https://community.auth0.com/t/set-languaage-when-opening-lock-popup/88095/5 "2022-08-15T23:53:47Z")

</div>

Hi @kormik,

Thank you for your update.

> [@kormik](#):
>
> I am able to set the language via options when I create instance of Auth0Lock, but I can’t do it when I call show() method.

Generally, you must specify the language settings when instantiating Lock as shown in [this documentation](https://auth0.com/docs/libraries/lock/lock-configuration#language-string-).

Moreover, you should be able to use the [popupOptions{}](https://auth0.com/docs/libraries/lock/lock-configuration#popupoptions-object-) to show the login as a popup.

Please let me know how this works for you.

Thank you.

---

<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:** [December 22, 2022, 9:37am UTC](https://community.auth0.com/t/set-languaage-when-opening-lock-popup/88095/6 "2022-12-22T09:37:32Z")

</div>


