Fixes the twig extension to configure the translations properly