I want to pull certain comments from my py files that give context to translations, rather than manually editing the .pot file basically i want to go from this python file:
# For Translators: some useful info about the sentence below _('Some string blah blah')
to this pot file:
# For Translators: some useful info about the sentence below #: something.py:1 msgid 'Some string blah blah' msgstr ''
After much pissing about I found the best way to do this:
Then search for comments with a . like so: