I'm using Flask to develop a python application. I did a locale management and it's ok everywhere in the application but i gave a issue with external JS.
I want to have a template hml with a link inside like \<script src="/static/js/user/bundle.js"\>\</script\> and in this one use the variable like {{translate_1}}. It's ok when i put variables in JS directly into the template but i want to have something clean. Someone did that ? Thanks!