I have a problem when I run
python manage.py compilemessages
it used to work perfectly fine but today, whenever I do it, i18n won't load on my web pages. I always get the same issue :
raise ValueError('invalid token in plural form: %s' % value)
ValueError: invalid token in plural form: EXPRESSION
I tried to empty my .po files and to rerun compilemessages, and I still get the error. I have absolutely no other clue where to look for.
Note: when I go back to any former commit, everything will run fine until I run compilemessages
in django 1.11
makemessages -l en
creates a faulty .po file for en language but for some other languages i have tested it works just fine.eg. for english - wrong:
and for croatian - ok:
i have reported this issue here https://code.djangoproject.com/ticket/28709