At RERO, we have three projects that make use of transifex, and we configure the GitHub integration. For two projects, the integration took place as we opened the projects on transifex, and it works fine.
But for the third one, the project already existed on transifex, and we’re struggling a lot to make it work. In the GitHub to transifex, everything is ok. But when a resource is ready (ie 100 % translate and 100 % revised), the synchronisation fails with this message:
p:reroils:r:rero-ils-translations-messages-pot--dev:l:en Transifex resource with project slug `reroils` and resource slug `rero-ils-translations-messages-pot--dev` has no metadata to indicate the Github file path
The project is this one: https://www.transifex.com/rero/reroils
Here the resource: https://www.transifex.com/rero/reroils/rero-ils-translations-messages-pot--dev/
The project on GitHub: https://github.com/rero/rero-ils
The configuration file:
filters: - filter_type: file file_format: PO source_language: en_US source_file: rero_ils/translations/messages.pot translation_files_expression: 'rero_ils/translations/<lang>/LC_MESSAGES/messages.po'
Here a glimpse of the files paths:
We tried a lot of things. And we’re not sure to understand correctly the error message, because where transifex is looking for metadata to the github file path? In the configuation file (integration parameters), or in the
messages.pot, or in the slug?
I’ve check the thread on github integration here, and on the web, but couldn’t find anything about this missing metadata.