#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)
follow-up: 2 comment:1 by , 3 years ago
| Resolution: | → invalid |
|---|---|
| Status: | new → closed |
comment:2 by , 3 years 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.
Thanks for the report, however, translations are handled at Transifex and not in this tracker.