Closed killua-eu closed 5 years ago
The package odan/twig-translation is part of this Slim 4 skeleton now. I also created a new section in the readme to explain the Slim 4 integration. For more details you could take a look into the latest master.
To parse the Twig templates you could just Poedit PRO or you compile the Twig templates to PHP and parse the PHP templates with the free version of Poedit.
Usage:
php bin/parse-twig.php
You need add the sources paths "templates" on de_DE_messages.po file for update from code if you use Poedit PRO. You can open file with Poedit PRO
Catalogue > Properties... > Source paths > +
and select the tempaltes path. Accept and click in "Update from code" and your twig strings translations appear for be translated.
Now that the twig-assets are there , would you mind adding twig-translation too? I think it would be a good addition.