No PRs in GitHub

Trying to force a manual push results in errors like this

Transifex resource with project slug `the-scroll-of-taiwu` and resource slug `worldcreation_languagetxt` has no metadata to indicate the GitHub file path

Here’s the YAML

git:
  filters:
  - filter_type: dir
    file_format: TXT
    source_file_extension: txt
    source_language: zh-Hans
    source_file_dir: locale/
    translation_files_expression: 'translations/<lang>'

  - filter_type: dir
    file_format: KEYVALUEJSON
    source_file_extension: json
    source_language: zh-Hans
    source_file_dir: locale/
    translation_files_expression: 'translations/<lang>'

And link the the project The Scroll of Taiwu localization | Transifex

Hello ,

Thank you for contacting Transifex.

From what i can see via your project and the github repo the actual source files are not present on github. Please notice that during a sync Transifex will never push new files to github side. The source of truth for source files is always the github repo and Transifex does not push new sources there.

Please upload the files on github and then sync with Transifex project.
On some tests we did we found that that was the reason for the issue. The source file on Transifex , slug resource was not linked with a resource in github.

Let us know if you keep getting the same error.

Kind regards
Christos

1 Like

Are you saying that Transififex will only make PRs for file that already have source files for? Is there no way to create push only behavior? Are there any options for having a differ source and push repos?

Good morning ,

So github integration needs a source file to be present and uploaded to Transifex and then produce all translation files . These take their file name from the resource slug. So , we need the source files to be present and correctly linked to github branch so that all push of translations are valid.
You cannot have a source only on Transifex and just push translations.

Kind regards
Christos

Kind regards