[Django]-Humanize in django/python, how to translate

0👍

Try to use hard-coded, for a test, translation.activate(language) just before sending it:

def nomegiorno(self):
   old = translation.get_language()
   print('old', old)
   translation.activate('it')
   pio = self.datainserimento.strftime("%A")
   translation.activate(old)
   return pio

And tell me what you have, this should help anyway

Leave a comment