GitHub - Do not sync untranslated keys

Hi

We have setup a GitHub integration with our repository.

The issue is that when it creates sync PR, it includes untranslated keys with other languages. And populates them with English translation. This is undesired behavior, because we want our git to be the source of truth.

Our crowdin.yml looks like this:

files:
  - source: /public/locales/en/*.json
    translation: /public/locales/%two_letters_code%/%original_file_name%
    skip_untranslated_strings:  true

Is this expected behaviour ? Can we configure it somehow? Or should we just write our own integration using the CLI tool ?

PS: We also want to be able to sync new translations from Git

Hi @pagep
Based on your translated file path, the sync will always overwrites itself. To keep your sources on the repo as a source of truth, it is required to sync translations to a different folder, for example:
/translations/public/locales/%two_letters_code%/%orifinal_file_name%

So please change the translation file path and it won’t be populated with other languages translations
Also, keep in mind that the skip_untranslated_strings works differently based on your file format, here is documentation on the matter: