On Thursday 02 March 2017 19:43:07 Uri Even-Chen wrote:
> Maybe this is a feature we can add to the next Django release? And > then we will not have to "cheat"? Something like this maybe: {%trans 'dancer' context_choices=gender_choices choice=request.user.gender %} Then makemessages should generate a string with msgctxt for each of the choices. You could do this already, by rolling your own "trans" tag and "makemessages" command. -- Melvyn Sopacua -- 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/1534636.BJoEb0gUWS%40devstation. For more options, visit https://groups.google.com/d/optout.