{# ── Language switcher ────────────────────────────────────────────────────── Two ways to switch, because the two halves of the site carry the language differently: * a public page HAS a translated URL (/es/pricing) → link straight to it, so the visitor lands on the indexable URL for that language; * anywhere else (login, onboarding, the app) there is no such URL → go through /lang/, which stores the choice and comes back.
keeps this JS-free, and scales to the remaining languages without turning the header into a row of codes. ────────────────────────────────────────────────────────────────────────── #}
{{ current_language }}
{% for code, label in LANGUAGES.items() %} {{ label }} {% endfor %}