Alter smarty2c.php, add the following lines:
echo '<?php';
//The for ($ac=1; $ac < $_SERVER['argc']; $ac++) { stuff goes here
echo '?>';
Rename the file/add it as smarty2php.php. This is usefull if you want to output a php file instead of c. I found this to be handy in combination with poedit, searching trough my .php files for gettext() tags, and extracting the {t} tags with smarty2c to a php file so i could do 1 'update' to get al new gettext() declarations in poedit.
https://github.com/glensc/smarty-gettext solves this issue by producing .pot file
Hello,
you may have not noticed by the project just go a new owner :)
its forge is here https://forge.fusiondirectory.org/projects/smarty3-i18n and i was about to look at all the patches and include them if worthwhile.
Could i ask you to take an account there and submit all your patches so we can include it.
We already published a 1.0 with some of the patches we collected
Cheers