为 Zikula 模块生成翻译文件

generate translation file for Zikula module

我有一个用 modulstudio 新创建的 Zikula 模块。按照 translation.md 中的说明,我在我的网站空间的 ssh shell 中使用了以下命令:

php app/console translation:extract template --bundle=RKHelperModule --enable-extractor=jms_i18n_routing --output-format=po --dir=./modules/RK/HelperModule --dir=./app/Resources/RKHelperModule

系统的答案是:

Could not open input file: app/console

app/console 在那里(权限 644)。

如何找出问题所在?

感谢您的帮助!

拉尔夫

确保在执行此命令之前进入主目录。