Opened 3 years ago

Last modified 3 years ago

#33112 closed Bug

BaseValidator does not localize params passed to rendered ValidationError — at Initial Version

Reported by: Jake Urban Owned by: nobody
Component: Core (Other) Version: 3.2
Severity: Normal Keywords: validators, localization, i10n, error, message
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: yes

Description

django.core.validators.BaseValidator does not localize the values contained in the params dict passed to ValidatorError. The result is that error messages contain localized error messages with non-localized values.

Here is a photo of an english-style number included in a Portuguese error message:

https://ibb.co/nwNbsjx

Change History (1)

by Jake Urban, 3 years ago

A Portuguese error message containing an english-style number.

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