Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pybabel extract not working with constant inner f-strings #1060

Open
l1onsun opened this issue Jan 24, 2024 · 0 comments
Open

pybabel extract not working with constant inner f-strings #1060

l1onsun opened this issue Jan 24, 2024 · 0 comments

Comments

@l1onsun
Copy link

l1onsun commented Jan 24, 2024

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 l1onsun changed the title pybabel extract not working with constant f-strings pybabel extract not working with constant inner f-strings Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant