I'm using Flask Babel for web translation: When I write my config file like the following, it doesn't find any translations and the error is that jinja2.ext.autoescape and jinja2.ext.with_ are deprecated. babel.cfg
[python: **.py]
[jinja2: **/templates/**.html]
extensions=jinja2.ext.autoescape,jinja2.ext.with_
If I remove the extensions line, it doesn't read the tags with underscore _{{ "some text" }}
, only the {{ get_text("some text")}}
[python: **.py]
[jinja2: **/templates/**.html]
How can I configure the underscore tag like _{{ "some text" }}
?