I already know I can localize python string using the following code:
localized_string = _('Resource key')
But when I go to Settings => Translations => Import/Export => Export translation , the generated file doesn't include any of the string localized using the aforementioned way.
Why is that, and how can I fix this?