zulip/zulip

Password reset not work in certain language

Open

#39.649 aperta il 30 giu 2026

Vedi su GitHub
 (9 commenti) (0 reazioni) (0 assegnatari)Python (7339 fork)batch import
area: internationalizationbughelp wanted

Metriche repository

Star
 (19.672 star)
Metriche merge PR
 (Merge medio 36g 6h) (110 PR mergiate in 30 g)

Descrizione

---- Describe what you were expecting to see :

With any language, when we ask for password reset, Zulip send email.

---- what you saw instead :

In my case, it works when my user language is English, but not when the user language is French.

After some search, I found in send_email.py that when we use password reset, the mail from is :

"{service_name} account security" address@exemple.com

Which in english :

"Zulip Server account security" address@exemple.com

Which in French :

"Sécurité du compte Zulip Server" address@exemple.com Which appear, because of accent, as : <=?utf-8?q?S=C3=A9curit=C3=A9_du_compte_Zulip_Server?='

And the mail is on error.

----- step to reproduce the buggy behavior

1-Choose user 2-Change it default language by a language with accent 3-Try password reset

Zulip Server and web app version:

  • Zulip Cloud (*.zulipchat.com)
  • Zulip Server 12.x
  • Zulip Server 11.x
  • Zulip Server 10.x
  • Zulip Server 9.x or older
  • Other or not sure

Guida contributor