Code

Opened 2 years ago

Closed 2 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: 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

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.

Attachments (0)

Change History (1)

comment:1 Changed 2 years ago by anonymous

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.