{% from 'oscar/macros.html' import custom_select_class %} {{ _('Language') }} {{ _('Default language') }} {%- for lang_id,lang_name,country_name,english_name in language_codes | sort(attribute=1) -%} {{- lang_name }} {% if country_name %}({{ country_name }}) {% endif %}- {{ lang_id -}} {%- endfor -%}