I'm trying to implement simple Django 1.5.5 string translation in templates.
I have:
USE_I18N = True
insettings.py
'django.middleware.locale.LocaleMiddleware'
inMIDDLEWARE_CLASSES
insettings.py
'django.core.context_processors.i18n'
inTEMPLATE_CONTEXT_PROCESSORS
insettings.py
- Some
{% trans "My string" %}
strings in templates {% load i18n %}
in all templates- Ran
python manage.py makemessages -l he
- Translated my strings using Poedit
- Ran
python manage.py compilemessages
LOCALE_PATHS = ('conf/locale',)
insettings.py
- Restarted the server
Translated strings remain English.
I do check that current language is he
using {% get_current_language as LANG %}{{ LANG }}
in the template.
What did I do to deserve thisWhere did I go wrong?