{% load i18n %}
{% load staticfiles %}

<li>
<a href="{{i18n_path}}">
<img src="{% static path %}"
     width="18"
     height="11"
     alt="{% trans language_name %}"
     title="{% trans language_name %}"
     style="border: 1px solid #151515;">
{% trans language_name %}</a>
</li>