Closed teddy-lu closed 1 year ago
The underlying Babel library does not support f-strings. You will need to raise an issue with them and/or add support in https://github.com/python-babel/babel/blob/master/babel/messages/extract.py#L581 to extract function usage inside a f-string AST node.
I have some words in 3's f-Strings sql code. such as
after I excute the order
$ pybabel extract -F babel.cfg -o messages.pot .
but I cannot find the words 'abc' from file messages.pot