jinja_environment = Environment(loader=PackageLoader('website', 'templates'
    ), extensions=['jinja2.ext.i18n'])
jinja_environment.install_gettext_translations(translation)
template = jinja_environment.get_template('test.jinja.html')
page_next_app_table = template.render()
How to enable {% trans %} tag for jinja templates?