I am trying to use po2php to convert my .po file to Zend php translations array.
I am simply trying this: $ po2php translations.po translations.php
, but this results in an error that I do not understand: po2php: warning: Couldn't handle input file translations.po: don't know what to do with input format .po, no template file
.
I do not know what a template file is an why should I provide it?
UPDATE: I also tried $ po2php translations.po translations.php -t messages.pot
, but this does not help me, it shows pretty much the same error: po2php: warning: Couldn't handle input file translations.po: don't know what to do with input format .po, template format .pot
.