#26587: SetPasswordForm help_text is not being translated (password_validators)
--------------------------------------+--------------------
Reporter: wilbuick | Owner: nobody
Type: Bug | Status: new
Component: Internationalization | Version: 1.9
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+--------------------
I have noticed that the help text on the change password form is not being
translated at all. The following line is causing the problem. This is in
use in several places in forms.py in the auth app.
{{{
help_text=password_validation.password_validators_help_text_html()
}}}
It seems that the help_text is being executed once at django startup and
would translate the string into whichever language django was configured
to use at the time the files are first parsed. I'm not sure of the best
way to solve this but some sort of lazy execution would be required.
--
Ticket URL: <https://code.djangoproject.com/ticket/26587>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/051.18a5483ea3e6ca48db663d1dcf30b102%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.