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
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.
I am posting here the solution to the issue you reported in case someone else comes across the same issue in the future.
When we sync resources with GitHub, the system automatically updates the resource slug in Transifex. This change should automatically be done by the system and not manually. Otherwise, the 2 systems won’t be able to connect.
More information about how this works can be found in our documentation guide here.
I know this is a bit old, but I’m also experiencing this with the project at:
The Resources were created first, and then subsequently synced with GitHub. However, ever time I try to sync now I get the error:
Failed to send translations to GitHub:
p:quicksilver:r:quicksilver-plugins-main-bezel-en-lproj-localizable-strings--master:l:ca
Transifex resource with project slug `quicksilver` and resource slug `quicksilver-plugins-main-bezel-en-lproj-localizable-strings--master` has no metadata to indicate the GitHub file path
@Panagiotis_Kavrakis: your link doesn’t provide a solution for the actual issue. I did accidentally change the slugs manually, so what can I do now to get this working?
So, to get these resources syncing again, please change the slugs to the filename + extension. For example, if the filename is “mysourcefile.strings”, then the slug should be “mysourcefilestrings” and the GitHub integration will rename it appropriately.
I had a couple of resources with the same name (localizable.strings) so I of course couldn’t set them all to use the slug “localizablestrings”. Instead, I had to rename them and then re-sync one at a time. A bit cumbersome, but it worked. Definitely not the smoothest integration ever.
It is one of the more complex integrations. However, most customers find that it works quite well once they get used to it. It is duly noted, though, as this is not the first time this (slug/naming issue) has come up