I am using django 1.27 with python 2.7.2.
I want a message to be translated to an empty string.
For example if i have this in my django.po file:
# .\path\file.py
msgid "word"
msgstr ""
So i want it to not show the 'word' when translating the page.
I have tried putting a space instead of "" but that did not help and i still get the original 'word' displayed.
How can i do that ?
No, you can't do that.
django's translation process is based on the GNU gettext toolset. This a gettext bug many people have complained.
There is a workaround that you can translate them to invisible unicode characters like U+200B, U+180E, U+2063
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With