Implemented translation

This commit is contained in:
Kevin Frantz 2018-09-05 11:50:22 +02:00
parent 66ee985b7d
commit 3a4f3f6654
3 changed files with 7 additions and 2 deletions

View File

@ -18,6 +18,7 @@
"symfony/security-bundle": "*", "symfony/security-bundle": "*",
"symfony/serializer-pack": "*", "symfony/serializer-pack": "*",
"symfony/swiftmailer-bundle": "^3.1", "symfony/swiftmailer-bundle": "^3.1",
"symfony/translation": "*",
"symfony/twig-bundle": "*", "symfony/twig-bundle": "*",
"symfony/validator": "*", "symfony/validator": "*",
"symfony/web-link": "*", "symfony/web-link": "*",

View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "5e543217d5543d73ee0a263f3ea204f2", "content-hash": "4a81ce4d1d5455ef63a078844aa4940a",
"packages": [ "packages": [
{ {
"name": "doctrine/annotations", "name": "doctrine/annotations",

View File

@ -3,5 +3,9 @@
Homepage Homepage
{% endblock %} {% endblock %}
{% block content %} {% block content %}
<h2>Welcome to infinito!</h2> <h2>
{% trans %}
Welcome to infinito!
{% endtrans %}
</h2>
{% endblock %} {% endblock %}