I am using widget SelectDateWidget, and i am trying to change the name of months form english to portuguese, i already tried this:
https://docs.djangoproject.com/en/2.1/topics/i18n/ is not working forms.py class RegisterForm2(forms.Form): gender = forms.ChoiceField(label="Género", choices = UserRegister.gender_choices, required=True) birthdate = forms.DateField(widget = forms.SelectDateWidget, localize=True) class meta: model = UserRegister fields = ['gender', 'birthdate'] -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dc28dfa7-917c-4c58-925b-88f3e2822cbb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.