umpirsky / Twig-Gettext-Extractor

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

xgettext path #6

Open oleksandr-diudiun opened 11 years ago

oleksandr-diudiun commented 11 years ago

For temporary work version I create constant for xgettext PATH in twig-gettext-extractor and add some actual comments

umpirsky commented 11 years ago

How about just adding setGettextCommand() to Twig/Gettext/Extractor.php. So, this class will have command attribute with default value set to xgettext?

This will allow users to have custom twig-gettext-extractor where they can set it.

oleksandr-diudiun commented 11 years ago

ок, i will change