GitHub PR goes to wrong folder?

First of all, thank you for making Transifex available free for open source projects! We’re actively looking at how Transifex can help empower the Project Jupyter to create translations of the various project documentation sites.

I’ve setup a GitHub integration for as a first experiment with the following configuration:

  - filter_type: dir
    file_format: PO
    source_file_extension: po
    source_language: en
    source_file_dir: /docs/locale/en/LC_MESSAGES
    translation_files_expression: /docs/locale/<lang>/LC_MESSAGES

I must have something not quite right, however. Transifex opened a pull request ( adding docs/locale/it/LC_MESSAGES/docs/locale/en/LC_MESSAGES/index.po to the repository instead of docs/locale/it/LC_MESSAGES/index.po.

Can anyone assist by pointing out where I’ve gone astray?

Hello @parente!
Can you remove the leading slashes from the “source_file_dir” and the “translation_files_expression” settings and retry?

I’ve removed them and we’ll see what happens on the next PR from Transifex. Thanks for the suggestion.