Django i18n: Common causes for translations not appearing

前端 未结 9 2128
心在旅途
心在旅途 2020-12-30 23:16

I am making a multilingual Django website. I created a messages file, populated and compiled it. I checked the site (the admin in this case,) in my wanted language (Hebrew)

9条回答
  •  青春惊慌失措
    2020-12-30 23:59

    My answer here, all my translations were working except for 2 DateFields that I was using in a ModelForm. Turns out that I had a widget in my forms.py that was not working well with the translations.

    I just removed it for now so I can enjoy Xmas =D

提交回复
热议问题