# changePassword flow language support

**URL:** <https://community.auth0.com/t/changepassword-flow-language-support/63025>\
**Category:** Get Help\
**Tags:** auth0\
**Created:** [May 18, 2021, 10:03pm UTC](https://community.auth0.com/t/changepassword-flow-language-support/63025 "2021-05-18T22:03:45Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![babu.golis](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/babu.golis/32/27508_2.png) [@babu.golis](https://community.auth0.com/u/babu.golis)\
**Post date:** [May 18, 2021, 10:03pm UTC](https://community.auth0.com/t/changepassword-flow-language-support/63025/1 "2021-05-18T22:03:45Z")

</div>

We have existing app we support in english language, we enhanced app to chinese language, But we stuck with support for  
Also its app without lang in user\_metadata and using same App in Auth) to support both english and chinese language, But deployed as seperate url

Issue with reset password flow in Auth0

webAuth.changePassword({  
connection: databaseConnection,  
email: username  
}

I cannot pass language parameter into changePassword function as that way I can customize Change Password Email template to be sent in chinese or english

Also customize lo/reset link with lang variable to different language for lo/reset  
[https://xxx/lo/reset?ticket=xxxxxxxxxxxxxxxxxx&lang=‘xx’](https://xxx/lo/reset?ticket=xxxxxxxxxxxxxxxxxx&lang='xx')

I guess someone did run into similar issue, please suggest How I pass lang variable to auth) email template

---

<div class="post-metadata">

**Author:** ![sgo](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sgo/32/13789_2.png) [@sgo](https://community.auth0.com/u/sgo)\
**Post date:** [May 19, 2021, 3:34pm UTC](https://community.auth0.com/t/changepassword-flow-language-support/63025/2 "2021-05-19T15:34:21Z")

</div>

Hi @babu.golis , welcome to the community!

I’d recommend looking into using the New Universal Login Experience, which can read the Accept-Language HTTP header natively, provided it is one of the languages Auth0 supports (and has been enabled in your tenant’s settings):

- [Universal Login Internationalization](https://auth0.com/docs/i18n/universal-login-internationalization)

You can further tweak what the text says using the [Text Customisation API](https://auth0.com/docs/universal-login/new-experience/text-customization-new-universal-login) for each language you wish to support.

For the email templates, this isn’t currently possible ‘out of the box’ AFAIK, but you can use rules to store a user’s preferred language into their metadata, and then use liquid syntax to alter your email’s contents based on the user’s relevant metadata field:

- [Customize Email Templates](https://auth0.com/docs/email/customize-email-templates#multilingual-email-templates)

---

<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:** [May 27, 2021, 11:33am UTC](https://community.auth0.com/t/changepassword-flow-language-support/63025/3 "2021-05-27T11:33:57Z")

</div>

Let us know @babu.golis if you have any other questions!

---

<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:** [June 11, 2021, 11:34am UTC](https://community.auth0.com/t/changepassword-flow-language-support/63025/4 "2021-06-11T11:34:45Z")

</div>

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