Back

How do I send Magic Link with specific language?

  • 0
  • General
  • Cloud
Rond
24 Jan, 2024, 21:28

I have a Hebrew set up, but it sends the login email in english. How can I set it to send the Hebrew message?

TL;DR
Developers need help sending a Magic Link with a specific language. One user found a solution, but their edited template wasn't used. Another developer suggests using `client.setLocale()` before calling the create magic URL session method to override the defaults. Another developer is having trouble with their Hebrew setup, as the login email is being sent in English. They're looking for a way to send the Hebrew message.
Drake
24 Jan, 2024, 21:31

Use client.setLocale() while setting up the client, before calling the create magic url session method

Rond
24 Jan, 2024, 21:33

Okay I did that and it worked, however, it didn't use my edited template. as you can see I set up the title to be "התחברות לסגנון־אות"

but got this email title instead: "כניסה למערכת"

How do I override the defaults?

Drake
24 Jan, 2024, 21:39

@dlohani any ideas?

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more