Closed standaniels closed 10 years ago
You must register this extensions as they are not part of standard Twig distribution. Take a look at https://github.com/umpirsky/Twig-Gettext-Extractor#custom-extensions and other issues, it is discussed several times.
Maybe we can provide version for Symfony with all Symfony extensions registered. Will think about this.
When trying to extract as pot file from the templates I get the following errors:
and
Line 7 of base.html.twig is:
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
.Line 2 of menu.html.twig is:
{% if is_granted('ROLE_SITE_OWNER') %}
How can I solve this? I would love to use Poedit to create translations.