# How to customize error messages in lockPasswordless?

**URL:** <https://community.auth0.com/t/how-to-customize-error-messages-in-lockpasswordless/10779>\
**Category:** Get Help\
**Tags:** lock-passwordless, passwordless, angular, angularjs\
**Created:** [April 10, 2018, 3:16pm UTC](https://community.auth0.com/t/how-to-customize-error-messages-in-lockpasswordless/10779 "2018-04-10T15:16:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![harald.andertun](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/harald.andertun/32/7093_2.png) [@harald.andertun](https://community.auth0.com/u/harald.andertun)\
**Post date:** [April 10, 2018, 3:16pm UTC](https://community.auth0.com/t/how-to-customize-error-messages-in-lockpasswordless/10779/1 "2018-04-10T15:16:24Z")

</div>

Hi,

How can I customize the error messages in lockPasswordless.?

I have seen this: [Customize Lock Error Messages - Auth0 Docs](https://auth0.com/docs/libraries/lock/v11/customizing-error-messages) but that doesn’t work for lockPasswordless.

I want to translate the error messages to other languages.

![56](https://global.discourse-cdn.com/auth0/original/2X/b/bd2f9b21f46d751c61009b3b177a9d46b8d4129b.png)

I use these versions:  
auth0-lock: **11.5.2**  
auth0-lock-passwordless version: **2.2.3**

---

<div class="post-metadata">

**Author:** ![kimcodes](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/kimcodes/32/81052_2.png) [@kimcodes](https://community.auth0.com/u/kimcodes)\
**Post date:** [April 12, 2018, 10:49pm UTC](https://community.auth0.com/t/how-to-customize-error-messages-in-lockpasswordless/10779/3 "2018-04-12T22:49:59Z")

</div>

👋 @harald.andertun I believe Lock Passwordless does not support localization out of the box, so we would need to rebuild the dictionary (as defined here: [lock-passwordless/dicts.js at df183e846e76b45ce874f87eb6721ca575da21f0 · auth0/lock-passwordless · GitHub](https://github.com/auth0/lock-passwordless/blob/df183e846e76b45ce874f87eb6721ca575da21f0/src/dict/dicts.js)) lines 20-33 represent the error messages. An override passed to the `error` attribute could look something like :

```auto
dict: {
   ...
      passwordless: {
               "bad.tenant": "Lorem Ipsum",
           ...
          },
     ...

```

---

<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:** [September 5, 2018, 8:39pm UTC](https://community.auth0.com/t/how-to-customize-error-messages-in-lockpasswordless/10779/4 "2018-09-05T20:39:35Z")

</div>

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