c file is not generated from tsmarty2c.php command
-
22-08-2019 - |
Question
I am using smarty gettext plugin to internationalize smarty templates on windows. But when I run the command tsmarty2c.php c file is created but the strings are not in the file.C file is empty.
I am using PHP 5.2.9 and smarty gettext plug in version is v 1.1.Any help is appreciated.
Solution
It prints C code on stdout.
You have to use it like that:
./tsmarty2c.php «template_file» > smarty.c
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow