Hi, I set up the integeration with GitHub, all works fine but the update of translated resources FROM GitHub. So in summary:
- If I update translations from Transifex, it sends updates to GiHub, GOOD
- If I update origin resources (english, to be translated) from GitHub with a commit, Transifex gets the update, GOOD
- If I update translated resources from GitHub with a commit, Transifex runs (I see it updates the sync status), but nothing happens, BAD
The reason for that is that we have translators that can use git locally without problems, so they send translation directly pushing to GitHub, and others that work instead only via Transifex’s web interface.
The only way I found to get the updated translated resources again on Transifex is to update the filter with a “false” change (removing and adding a “/” at the end of the source_file_dir parameter). This way Transifex starts a full sync again and it gets also all translated resources from GitHub.
Is this an intended behavior?
If so, the only other workaround I can think is to use a git hook to fire an API call when I update translated resources from GitHub, but I hope I don’t need to do it Any other ideas?
This is my current filters configuration:
filters: - filter_type: dir file_format: YAML_GENERIC source_file_extension: yml source_language: en source_file_dir: src/transifex-en/ translation_files_expression: 'src/transifex-<lang>/'