From: Raphaƫl Gertz Date: Sun, 25 Feb 2018 05:20:33 +0000 (+0100) Subject: Add twig translation extension X-Git-Tag: 0.1~57 X-Git-Url: https://git.rapsys.eu/blogbundle/commitdiff_plain/6990c79b55988180c3692ada9b21fea2584ccd27?hp=0e4247b102bba436d6704d9b3742341079bb79eb Add twig translation extension --- diff --git a/Resources/config/services.yml b/Resources/config/services.yml index 992dbfe..6ce718f 100644 --- a/Resources/config/services.yml +++ b/Resources/config/services.yml @@ -1,4 +1,4 @@ services: -# blog.example: -# class: BlogBundle\Example -# arguments: ["@service_id", "plain_value", "%parameter%"] + twig.extension.intl: + class: Twig_Extensions_Extension_Intl + tags: [ twig.extension ]