{% extends "base.html" %} {% load i18n %} {% load utility_tags %} {% block content %}

{% trans "Polygen" %}

{% trans "This is just a test plugin, for relax and fun" %}

{# if there is phrase, there is also grammar and lang #} {% if phrase %}
{% trans 'Back' %} {% with lang|os_path_join:grammar as path %} {% trans 'Generate' %} {% endwith %}
{% elif lang %} {% trans 'Back' %} {% endif %}
{# if there is phrase, there is also grammar and lang #} {% if phrase %}

{% trans "Generated text" %}

{{phrase|safe}}

{% elif lang %}

{% trans "Choose a grammar" %}

{% else %}

{% trans "Choose a language" %}

{% endif %} {% endblock content %}