Opened 23 months ago

Closed 23 months ago

Last modified 23 months ago

#34218 closed Bug (invalid)

Password mismatch on UserCreationForm not translated to the Slovenian language

Reported by: Nejc Ilenic Owned by: nobody
Component: Internationalization Version: 4.1
Severity: Normal Keywords: translations
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

When using the UserCreationForm together with LANGUAGE_CODE = 'sl' the password_mismatch error is not translated.

Reproducer:

Code highlighting:

from django.contrib.auth.forms import UserCreationForm
from django.utils import translation

form = UserCreationForm()
form.is_valid()

with translation.override('fr'):
    translation.gettext(form.error_messages['password_mismatch'])
# prints 'Les deux mots de passe ne correspondent pas.'

with translation.override('sl'):
    translation.gettext(form.error_messages['password_mismatch'])
# prints 'The two password fields didn’t match.'

Change History (2)

comment:1 by Mariusz Felisiak, 23 months ago

Resolution: invalid
Status: newclosed

Thanks for the report, however, translations are handled at Transifex and not in this tracker.

in reply to:  1 comment:2 by Nejc Ilenic, 23 months ago

Replying to Mariusz Felisiak:

Thanks for the report, however, translations are handled at Transifex and not in this tracker.

Ah, thanks! I will report it there

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