[Answered ]-Localizing CharFields and ModelForms with choices in Django

2đź‘Ť

âś…

Have you tried this yourself?

I’m pretty sure they would be localized. At least {{ form }}, whereas you would want to use {{ item.get_category_display }} to get the display value for the category field (i.e. “Furry or large animals”/”Pelzige oder grosse Tiere” (localized) rather than “furry animal” (internal string)).

👤vicvicvic

Leave a comment