title: Import javascript files with jinja from static folder
body: <p>I need to have access to jinja template in javascript files (due to i18n tags). So the way that i found is just load the js file with include, from the jinja method. <code>{% include "file.js" %}</code></p>
  
  <p>However this method will look for files only in templates folder. But the js files must be in the static folder. My question is, how can i change the way how jinja looks for files? Instead of search in templates folder, in this case, search in the static folder.</p>
  
  <pre><code>{% block javascript %}
      &lt;script type="text/javascript"&gt;
          {% include "myscript.js" %}
      &lt;/script&gt;
  {% endblock %}
  </code></pre>