diff --git a/application/composer.json b/application/composer.json index 390aed9..f20c17a 100644 --- a/application/composer.json +++ b/application/composer.json @@ -18,6 +18,7 @@ "symfony/security-bundle": "*", "symfony/serializer-pack": "*", "symfony/swiftmailer-bundle": "^3.1", + "symfony/translation": "*", "symfony/twig-bundle": "*", "symfony/validator": "*", "symfony/web-link": "*", diff --git a/application/composer.lock b/application/composer.lock index 3ab50da..c77f174 100644 --- a/application/composer.lock +++ b/application/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5e543217d5543d73ee0a263f3ea204f2", + "content-hash": "4a81ce4d1d5455ef63a078844aa4940a", "packages": [ { "name": "doctrine/annotations", diff --git a/application/templates/standard/homepage.html.twig b/application/templates/standard/homepage.html.twig index 732bc66..b0009b6 100644 --- a/application/templates/standard/homepage.html.twig +++ b/application/templates/standard/homepage.html.twig @@ -3,5 +3,9 @@ Homepage {% endblock %} {% block content %} -

Welcome to infinito!

+

+{% trans %} +Welcome to infinito! +{% endtrans %} +

{% endblock %}