Opened 6 years ago

Closed 6 years ago

#17925 closed Bug (fixed)

Brazilian Localflavor error messages always in english (even though translated)

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


Hi guys,

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/
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.

Change History (1)

comment:1 Changed 6 years ago by anonymous

Resolution: fixed
Status: newclosed

i should have read the documentation first :) forgot to add to installed apps

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