umpirsky / Twig-Gettext-Extractor

The Twig Gettext Extractor is Poedit friendly tool which extracts translations from twig templates.
MIT License
112 stars 32 forks source link

Ability to specify filter and function stubs via command line, and more #57

Closed Saeven closed 7 years ago

Saeven commented 7 years ago

We've been using the extractor successfully across a good breath of projects, but find that each product we develop has individual needs for stubs on the filter and function level. We also test across different platforms, so the executable isn't always in path.

This PR allows you to stub functions and filters via command line. It also allows you to specify the location of the gettext executable via command line as well.

Thank you for considering this PR.