Skip to content

🕷️ The BEST Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scrapling_dev

322 B
Raw Blame
{% set translation = "translations/" ~ locale ~ ".html.jinja" %}
{% if translation is existing_template %}
  {% import translation as translated %}
  {% set rendered %}{% include "_base/class.html.jinja" %}{% endset %}
  {{ translated.translate(rendered) }}
{% else %}
  {% include "_base/class.html.jinja" %}
{% endif %}