Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auto-syncing new translations (for all languages) from Transifex didn't work smoothly #9620

Open
jywarren opened this issue May 11, 2021 · 2 comments
Labels
bug the issue is regarding one of our programs which faces problems when a certain task is executed documentation feature lacks proper documentation or needs more documents more-detail-please issue lacks proper description and perhaps needs code links or the location of the problem

Comments

@jywarren
Copy link
Member

I'm trying out the auto-PR generation in Transifex, for the #3262 wrap-up and #9257 projects for GSoC, and i tried running it, but got this error:

image

 Some files didn’t sync with Transifex:
/config/locales/en.yml
Error while creating resource: b"Format 'YAML' not found"
/config/locales/ar.yml
Error while uploading translation: b'Not Found'
/config/locales/gr.yml
Error while uploading translation: b'Not Found'
/config/locales/de.yml
Error while uploading translation: b'Not Found'

To run it, i set up a config file like this:

filters:
  - filter_type: file
    # all supported i18n types: https://docs.transifex.com/formats
    file_format: YAML
    source_language: en
    source_file: config/locales/en.yml
    # path expression to translation files, must contain <lang> placeholder
    translation_files_expression: 'config/locales/<lang>.yml'

Then pressed Sync here:

image

I may have this wrong! Lets discuss, document, and debug, and smooth this process out, then make it clear for others to do!

@jywarren jywarren added bug the issue is regarding one of our programs which faces problems when a certain task is executed documentation feature lacks proper documentation or needs more documents more-detail-please issue lacks proper description and perhaps needs code links or the location of the problem labels May 11, 2021
@jywarren jywarren changed the title Auto-syncing with Transifex didn't work smoothly Auto-syncing new translations (for all languages) with Transifex didn't work smoothly May 11, 2021
@jywarren jywarren changed the title Auto-syncing new translations (for all languages) with Transifex didn't work smoothly Auto-syncing new translations (for all languages) from Transifex didn't work smoothly May 11, 2021
@jywarren
Copy link
Member Author

I hope to return to this next week!

https://www.transifex.com/publiclab/publiclaborg/settings/integrations/

@govindgoel
Copy link
Member

@jywarren I found this and going through it as if I can find out what could be the possible issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug the issue is regarding one of our programs which faces problems when a certain task is executed documentation feature lacks proper documentation or needs more documents more-detail-please issue lacks proper description and perhaps needs code links or the location of the problem
Projects
None yet
Development

No branches or pull requests

2 participants