Brazilian Localflavor error messages always in english (even though translated)
|Reported by:||carneiro.be@…||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I've been using the brazilian localflavor and noticed that the form errors are always in english even though they were translated in /pt_BR/LC_MESSAGES/django.po. For example, we have at django.po
#: br/forms.py:22 msgid "Enter a zip code in the format XXXXX-XXX." msgstr "Informe um código postal no formato XXXXX-XXX."
yet when I use the BRZipCodeField form field, the message that appears for my form is "Enter a zip code in the format XXXXX-XXX." and not the translated version. When using any other form field (charfield, emailfield, urlfield) the messages are always in portuguese. I just updated to the latest SVN revision (17760) and the error is still in english. I believe this is a bug.