babel icon indicating copy to clipboard operation
babel copied to clipboard

`pybabel extract` not working with constant inner f-strings

Open l1onsun opened this issue 2 years ago • 0 comments

Steps to Reproduce

# main.py
f"some string to {_('translate')}"
pybabel extract -o locales/messages.pot

(pybabel 2.14.0)

Actual Results

No strings extracted

Expected Results

extracted 'translate' string

l1onsun avatar Jan 24 '24 11:01 l1onsun