0

Hello I have a multy lingual project in Django. I have done the translations with USE_I18N.

Everything works fine in the templates with the

{% trans 'hello world' %}

but how should I process the messages?

when I send

messages.warning(request, "Невалиден имеил или парола")

I want it to be translated in english if the language selected is english

ThunderHorn
  • 1,975
  • 1
  • 20
  • 42

0 Answers0