{%- for lng in ('fr','nl','de') %} {%- if lng == language %} {{lng.upper()}} {%- else %} {{lng.upper()}} {%- endif %} {%- endfor %}