I have some structure in Python:
> gender=( ('0','woman'), ('1','man') )
I want to translate it before I will display it in Django template. Unfortunately, below solution doesn't work:
> from django.utils.translation import
> ugettext_lazy as _
>
> gender=( ('0',_('woman')),
> ('1',_('man')) )
What shall I do to translate this? I read the docs, but I can't understand what I should do.