{% load i18n %} {% if api_check.success %} {% trans 'working' %} {% else %} error: {{ api_check.error }} {% endif %}