Github integration: 100% translated language not pushed to Github

Hello,

Here is my project and Github repo, with the related yaml configuration:

filters:
  - filter_type: file
    # all supported i18n types: https://docs.transifex.com/formats
    file_format: PO
    source_language: en
    source_file: usr/share/oma-welcome/om-welcome.pot
    # path expression to translation files, must contain <lang> placeholder
    translation_files_expression: po/<lang>.po
settings:
  language_mapping:
    en: en_US
    fr: fr_FR
    it: it_IT

Yesterday evening someone translated the serbian language fully (100%), but sr.po was not pushed to Github. I don’t know how to troubleshoot or how long I have to wait for next sync. I tried to create again the Tx/github link but it was not pushed neither.

What did I do wrong?

Hello

The translation_files_expression needs to be encapsulated in single quotes.

By making this or any change in the YAML config file you will trigger a sync. As an added step you may consider removing a single translation, save and then put it back in, in order to trigger the sync.

Please let us know if this solves the issue.

Kind Regards,

1 Like

Thank you @anthonydim indeed it works, with the quotes. I also had to suppress a string, translate it again, to trigger the push.

1 Like

Hi,

We are also facing problems with github integration for an Android project. The translations are being updated in transifex as expected, but once a language is 100% it is not pushed to github. We think it has to be something in the yaml configuration:

filters:
 - filter_type: file
   source_file: app/src/main/res/values/strings.xml
   file_format: ANDROID
   source_language: en
   translation_files_expression: 'app/src/main/res/values-<lang>/strings.xml'

We tried other configurations as well, but same result. Is there anything we are missing?
Thank you!

1 Like

Hi @Balcan,

Can you please share your project URL so as to investigate this further?

If it is a private project, then please reach out to us at support@transifex.com so that we can take a better look at it.

Thanks,
Nina

1 Like