diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 4cc0d7fbcad73fa0aed1959ff215776e2109248c..a9cc6e2d63251b4cedd2ee31782177790926c81a 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -108,3 +108,8 @@ services: arguments: - "@router" - "@security.csrf.token_manager" + + twig.extension.intl: + class: Twig_Extensions_Extension_Intl + tags: + - { name: twig.extension } \ No newline at end of file diff --git a/composer.json b/composer.json index 141f5fb835e52a64a1f59a2f0a51048f4606ee17..953e368fd863038c9c15a364006f6cf40c5eb9ba 100644 --- a/composer.json +++ b/composer.json @@ -34,7 +34,8 @@ "blueimp/jquery-file-upload": "~9.9", "white-october/pagerfanta-bundle": "~1.0", "willdurand/js-translation-bundle": "~2.2", - "xenolope/quahog": "^2.1" + "xenolope/quahog": "^2.1", + "symfony/intl": "^3.3" }, "require-dev": { "phpunit/phpunit": "^4.8"