Add trans filter to Twig extension