I have one string that can be translated in varius part of my code in two different way.
Now if Use django-admin makemessages -l it
I get in django.po this:
#: pingapi/ping.py:17 pingapi/nots.py:10
msgid "may"
msgstr "maggio"
But I would want two different translation:
#: pingapi/ping.py:17
msgid "may"
msgstr "posso"
#: pingapi/nots.py:10
msgid "may"
msgstr "maggio"
If I run django-admin compilemessage with the translation file posted up, I get:
Error: errors happened while running msgmerge
error 'duplicate message definition'
Any Hints? I'm using Django.