[Django] #36314: Translate bug with UserCreationForm

44 views
Skip to first unread message

Django

unread,
Apr 10, 2025, 12:35:19 AM4/10/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+--------------------------------------
Reporter: gabigab117 | Type: Bug
Status: new | Component: Forms
Version: 5.2 | Severity: Normal
Keywords: usercreationform | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
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.

Thks ^^
--
Ticket URL: <https://code.djangoproject.com/ticket/36314>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 10, 2025, 12:35:29 AM4/10/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+--------------------------------------
Reporter: gabigab117 | Owner: (none)
Type: Bug | Status: new
Component: Forms | Version: 5.2
Severity: Normal | Resolution:
Keywords: usercreationform | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
----------------------------------+--------------------------------------
Changes (by gabigab117):

* Attachment "Screenshot 2025-04-10 at 06.32.45.png" added.

Django

unread,
Apr 10, 2025, 10:47:41 AM4/10/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+------------------------------------
Reporter: Gabriel Trouvé | Owner: (none)
Type: Bug | Status: new
Component: Forms | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+------------------------------------
Changes (by Claude Paroz):

* easy: 0 => 1
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted

Comment:

See https://forum.djangoproject.com/t/bug-with-translate-
usercreationform/40340/1
--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:1>

Django

unread,
Apr 10, 2025, 11:31:05 AM4/10/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+------------------------------------
Reporter: Gabriel Trouvé | Owner: (none)
Type: Bug | Status: new
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+------------------------------------
Changes (by Natalia Bidart):

* cc: bcail (added)
* component: Forms => contrib.auth


Old description:

> 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.
>
> Thks ^^

New description:

Hello,

With
- the UserCreationForm
- project settings in french (fr-fr)

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

Thks ^^

--
--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:2>

Django

unread,
Apr 10, 2025, 12:51:03 PM4/10/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+------------------------------------
Reporter: Gabriel Trouvé | Owner: (none)
Type: Bug | Status: new
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+------------------------------------
Changes (by Sarah Abderemane):

* cc: Sarah Abderemane (added)

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:3>

Django

unread,
Apr 10, 2025, 4:25:38 PM4/10/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Ahmed Nassar):

* owner: (none) => Ahmed Nassar
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:4>

Django

unread,
Apr 10, 2025, 5:50:39 PM4/10/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Ahmed Nassar):

* has_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:5>

Django

unread,
Apr 11, 2025, 3:16:41 AM4/11/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Sarah Boyce):

* needs_docs: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:6>

Django

unread,
Apr 11, 2025, 9:16:57 AM4/11/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Ahmed Nassar):

* needs_docs: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:7>

Django

unread,
Apr 11, 2025, 10:16:58 AM4/11/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Sarah Boyce):

* needs_tests: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:8>

Django

unread,
Apr 14, 2025, 4:19:44 AM4/14/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Ahmed Nassar):

* needs_tests: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:9>

Django

unread,
Apr 14, 2025, 4:29:23 AM4/14/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:10>

Django

unread,
Apr 14, 2025, 4:31:23 AM4/14/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
-------------------------------------+-------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed
| Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Ahmed Nassar):

* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:11>

Django

unread,
Apr 14, 2025, 4:35:55 AM4/14/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Ahmed Nassar):

* stage: Ready for checkin => Accepted

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:12>

Django

unread,
Apr 14, 2025, 5:03:34 AM4/14/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Ahmed Nassar):

* needs_better_patch: 1 => 0

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:13>

Django

unread,
Apr 14, 2025, 5:20:07 AM4/14/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
-------------------------------------+-------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed
| Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Ahmed Nassar):

* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:14>

Django

unread,
Apr 14, 2025, 7:58:17 AM4/14/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Sarah Boyce):

* stage: Ready for checkin => Accepted

Comment:

You should not mark your own ticket as ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:15>

Django

unread,
Apr 14, 2025, 7:58:46 AM4/14/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
----------------------------------+----------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 1 | UI/UX: 0
----------------------------------+----------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 0 => 1

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:16>

Django

unread,
Apr 16, 2025, 11:06:37 AM4/16/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
-------------------------------------+-------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed
| Nassar
Type: Bug | Status: assigned
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution:
Keywords: usercreationform | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin

--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:17>

Django

unread,
Apr 17, 2025, 6:30:31 AM4/17/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
-------------------------------------+-------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed
| Nassar
Type: Bug | Status: closed
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution: fixed
Keywords: usercreationform | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce <42296566+sarahboyce@…>):

* resolution: => fixed
* status: assigned => closed

Comment:

In [changeset:"d469db978ea6a705549b9519313d9adc198e4232" d469db9]:
{{{#!CommitTicketReference repository=""
revision="d469db978ea6a705549b9519313d9adc198e4232"
Fixed #36314 -- Fixed MinimumLengthValidator error message translation.

Regression in ec7d69035a408b357f1803ca05a7c991cc358cfa.

Thank you Gabriel Trouvé for the report and Claude Paroz for the review.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:18>

Django

unread,
Apr 17, 2025, 6:32:55 AM4/17/25
to django-...@googlegroups.com
#36314: Translate bug with UserCreationForm
-------------------------------------+-------------------------------------
Reporter: Gabriel Trouvé | Owner: Ahmed
| Nassar
Type: Bug | Status: closed
Component: contrib.auth | Version: 5.2
Severity: Release blocker | Resolution: fixed
Keywords: usercreationform | Triage Stage: Ready for
| checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):

In [changeset:"adf2991d32c24f8b2e549a25a7eda52f317a91a6" adf2991]:
{{{#!CommitTicketReference repository=""
revision="adf2991d32c24f8b2e549a25a7eda52f317a91a6"
[5.2.x] Fixed #36314 -- Fixed MinimumLengthValidator error message
translation.

Regression in ec7d69035a408b357f1803ca05a7c991cc358cfa.

Thank you Gabriel Trouvé for the report and Claude Paroz for the review.

Backport of d469db978ea6a705549b9519313d9adc198e4232 from main.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/36314#comment:19>
Reply all
Reply to author
Forward
0 new messages