n locked_preferences %}
  <fieldset>
    <legend>{{ _('Interface language') }}</legend>
    <p class="value">
      <select name='locale'>
        {% for locale_id,locale_name in locales.items() | sort %}
        <option value="{{ locale_id }}" {% if locale_id == current_locale %}selected="selected"{% endif %}>{{ locale_name }}</option>
        {% endfor %}
      </select>
    </p>
    <div class="description">{{ _('Change the language of the layout') }}</div>
  </fieldset>
  {% endif %}
  {% if 'theme' not