Bug with translate : UserCreationForm

Hello,

With

  • the UeserCreationForm
  • project settings in french (fr-fr)

Error message “This password is too short. It must contain at least 8 characters.” is not translated.

I would like to correct it myself and propose a PR but I cannot find it in the source code

Thks

1 Like

Good catch! This is a regression from this commit: Fixed #35782 -- Allowed overriding password validation error messages. · django/django@ec7d690 · GitHub (the % self.min_length must come after the ngettext call).

Would you like to report the bug in the Django tracker?

Thanks:) it’s already done