Opened 12 years ago

Closed 12 years ago

#17925 closed Bug (fixed)

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

Reported by: carneiro.be@… Owned by: nobody
Component: Internationalization Version: dev
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

Description

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

Change History (1)

comment:1 by anonymous, 12 years ago

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