# Set UI locale when triggering change password email flow

**URL:** <https://community.auth0.com/t/set-ui-locale-when-triggering-change-password-email-flow/137912>\
**Category:** Get Help\
**Tags:** users, management-api\
**Created:** [July 2, 2024, 8:46am UTC](https://community.auth0.com/t/set-ui-locale-when-triggering-change-password-email-flow/137912 "2024-07-02T08:46:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicholas.peters](https://upload.wikimedia.org/wikipedia/commons/thumb/7/7c/User_font_awesome.svg/768px-User_font_awesome.svg.png) [@nicholas.peters](https://community.auth0.com/u/nicholas.peters)\
**Post date:** [July 2, 2024, 8:46am UTC](https://community.auth0.com/t/set-ui-locale-when-triggering-change-password-email-flow/137912/1 "2024-07-02T08:46:16Z")

</div>

I want to use the following API to allow the user to trigger the reset password email from within the app (POST /dbconnections/change\_password). I am using new universal login.

When triggering login / signup flows, I am using ui\_locales to make the auth0 interface match the selected language in our app.

Can I set the language when triggering the password reset flow? I’m worried that the user will end up with a different language to the one selected in the application which isn’t a great UX.

---

<div class="post-metadata">

**Author:** ![remus.ivan](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/remus.ivan/32/68771_2.png) [@remus.ivan](https://community.auth0.com/u/remus.ivan)\
**Post date:** [March 12, 2025, 4:54pm UTC](https://community.auth0.com/t/set-ui-locale-when-triggering-change-password-email-flow/137912/3 "2025-03-12T16:54:29Z")

</div>

Hi @nicholas.peters,

Welcome back to the Auth0 Community and sorry for the late reply.

While it is possible to use _ui\_locales_ to set the language in the initial login/forgot password page, passing the _ui\_locales_ parameter in the URL link to the _ **/u/reset-password** _ page is not possible out of the box, as mentioned in our [Knowledge article](https://community.auth0.com/t/customize-change-password-page-language-u-reset-password/96394) as well.

In this case, the link that is returned in the **URL** ends with a hash mark (#). Therefore, the browser’s Accept-Language header will take precedence and possibly display a different language. Using built-in methods of Liquid Syntax, it is possible to remove and add characters from a string. This would be an example :

> \<a href=“{{ url | remove: “#” }}&ui\_locales=fr-FR”\>Click here

I hope this helps your use case, but others as well.  
Thanks,  
Remus

`

---

<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:** [March 26, 2025, 4:54pm UTC](https://community.auth0.com/t/set-ui-locale-when-triggering-change-password-email-flow/137912/4 "2025-03-26T16:54:56Z")

</div>

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