0

我正在使用 smarty gettext 插件来国际化 windows 上的 smarty 模板。但是当我运行命令 tsmarty2c.php 时,创建了 c 文件但字符串不在文件中。C 文件为空。

我正在使用 PHP 5.2.9 和 smarty gettext 插件版本是 v 1.1。感谢任何帮助。

4

1 回答 1

1

它在标准输出上打印 C 代码。

你必须像这样使用它:

./tsmarty2c.php «template_file» > smarty.c
于 2009-03-26T11:42:07.713 回答