Opened 8 years ago

Closed 8 years ago

#13272 closed (invalid)

MaxLengthValidator message is not being translated in form.errors

Reported by: vorushin Owned by: nobody
Component: Forms Version: master
Severity: Keywords:
Cc: roman.vorushin@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

class Form(forms.Form):

short_description = forms.CharField(max_length=10, widget=forms.Textarea)

When I leave field short_description empty, I get message in Russian: "Обязательное поле". When I enter more than 10 chars in this field, I get message in English: "Ensure this value has at most 10 characters (it has 12)."

Full test project to reproduce this bug is here -

Change History (2)

comment:1 Changed 8 years ago by vorushin

Cc: roman.vorushin@… added

comment:2 Changed 8 years ago by Russell Keith-Magee

Resolution: invalid
Status: newclosed

This is a case of the translation file being out of date. We need someone to update the translation; policy here is not to open tickets to report a broken translation, but to open a ticket once you have an updated translation file.

If you want to help out with translation, please see the docs on how to contribute translations.

Note: See TracTickets for help on using tickets.
Back to Top