I am trying to use po2php to convert my .po file to a Zend php translations array.
I'm just trying to do this: $ po2php translations.po translations.php , but this leads to an error that I don't 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, why should I provide it?
UPDATE: I also tried $ po2php translations.po translations.php -t messages.pot , but it doesn’t help me, it shows almost 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 .
source share