Fail to generate translation template (pot file) for my app

Hi, i’m the developer of PhoneTrack. To translate this app, i manually edit l10n/fr.js and l10n/fr.json files and contributors do the same for other languages. I want to start using gettext to interact with an external translation tool.

I installed liblocale-po-perl gettext, then i went to /path/to/nextcloud/apps/myapp/l10n/, then i ran

perl /path/to/nextcloud/l10n/ read phonetrack

and it just created an empty template folder. Anybody knows why it fails to create the pot file ?

Ok, got it. There is a mistake in the perl file. I’ll create an issue on Github.