Django Translation Server Error (Remote work)

Job ID: 31840544

Budget: $30 – $250 USD

ONLY DJANGO TRANSLATION EXPERTS

I have a django project where i have translations which DOES WORK in localhost but not on my apache2 server. All the settings seams to be correct and i see no error messages (see image for settings.py).

You can try to change the language on the website: https://facilmenu.com/ and there you can see that it actually works on the admin site: https://facilmenu.com/admin/ but all my .po file translations don't work since the actual website does not get translated (https://facilmenu.com/home). That is my gettext functions in the python files does not work nor does the {% trans "word to translate" %} in html files.

OPS AGAIN: works in localhost but not on production server.

I use this function to change language:
https://docs.djangoproject.com/en/3.2/topics/i18n/translation/#the-set-language-redirect-view

Of course i have done:
django-admin makemessages -l es
django-admin compilemessages

MUST BE SOLVED REMOTELY!!
Related categories: Python Translation Django Apache