Kishor Pawar
unread,Mar 18, 2018, 10:19:37 AM3/18/18Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
First of all, I am expecting `--no-obsolete` would comment out `msgid` and `msgstr` if `gettext` is deleted, right?
How I am testing is:
1. I wrote `gettext("some string here")` in view
2. I ran `makemessages` command
3. It wrote a `.po` file as expected
4. Then I deleted `gettext()` line from view and saved file, verified `runserver` working.
5. I ran `makemessages --no-obsolete` and it has not made any changes to `.po` file.
`.po` file content extract .
#. Translators: This message is a test of wrap line
#: servers/views.py:31
msgid "Do let me know if it works."
msgstr ""