niwinz / django-jinja

Simple and nonobstructive jinja2 integration with Django.
http://niwinz.github.io/django-jinja/latest/
BSD 3-Clause "New" or "Revised" License
363 stars 102 forks source link

Translation doesn't work on variables #316

Open Amir-A-M opened 2 months ago

Amir-A-M commented 2 months ago

Hi guys. Thanks for the work you have put in

For now, I'm ok. and this is a feature request.

In Django documentation: Django documentation

but it doesn't work and I have to use it like this

sentence = _("Welcome to my site.")
function(sentence)