# How to change the language in the passwordless email?

**URL:** <https://community.auth0.com/t/how-to-change-the-language-in-the-passwordless-email/92154>\
**Category:** Get Help\
**Tags:** react-native\
**Created:** [October 11, 2022, 2:06pm UTC](https://community.auth0.com/t/how-to-change-the-language-in-the-passwordless-email/92154 "2022-10-11T14:06:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![the\_mushroom](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/the_mushroom/32/40520_2.png) [@the\_mushroom](https://community.auth0.com/u/the_mushroom)\
**Post date:** [October 11, 2022, 2:06pm UTC](https://community.auth0.com/t/how-to-change-the-language-in-the-passwordless-email/92154/1 "2022-10-11T14:06:20Z")

</div>

I have a react-native application that uses passwordless login i.e. login using a magic link sent via email.

I’d like to send users from a certain country the email in a certain language based on their IP address. I know that auth0 provides this (`event.request.geoip.countryCode`).

The react-native application uses the ‘react-native-auth0’ library, specifically the `passwordlessWithEmail` api to send the email.

I’ve tried using a custom action (i.e. Actions \> Flows) to send an HTTP request to the `/passwordless/start` endpoint with the `x-request-language` headers.

This works as expected, however, since the app already calls the `passwordlessWithEmail` api, the user ends up getting 2 separate emails, in 2 separate languages.

My questions are:

- Is there a way to only use the custom action to send the email and not have the `passwordlessWithEmail` api send an email at all?

How would you go about achieving this? i.e. send a magic link (passwordless login) in a different language? I also explored setting the user metadata, but this is not set until the user is registered (i.e. after the passwordless magic link is sent).

Thanks so much for your help.

---

<div class="post-metadata">

**Author:** ![vlad.murarasu](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/vlad.murarasu/32/72793_2.png) [@vlad.murarasu](https://community.auth0.com/u/vlad.murarasu)\
**Post date:** [February 28, 2025, 7:04pm UTC](https://community.auth0.com/t/how-to-change-the-language-in-the-passwordless-email/92154/2 "2025-02-28T19:04:21Z")

</div>

Hi @the_mushroom,

Welcome to the Auth0 Community.

I would recommend not using Actions and instead creating a custom page that asks for the email, and then sends the Passwordless email request. This way, the second login email will not be sent.

If you have any questions about implementing it feel free to ask.

Have a good one,  
Vlad

---

<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 14, 2025, 7:05pm UTC](https://community.auth0.com/t/how-to-change-the-language-in-the-passwordless-email/92154/3 "2025-03-14T19:05:12Z")

</div>

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