Changes between Initial Version and Version 1 of Ticket #5777


Ignore:
Timestamp:
09/25/2017 05:23:16 PM (2 years ago)
Author:
kzar
Comment:

Tristan and I were chatting about this in IRC, it looks like Crowdin have changed their API. Firstly the language list is now inside the data key, this change fixed that problem. Secondly the add-file endpoint is returning 400 when I try to add files using the translate command. It's more than possible there were other breaking changes too :(, I didn't have any more time to look into it.

It looks like we'll have to make changes to both buildtools and cms to get our translation integrations working again.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #5777

    • Property Cc Shikitita added
    • Property Priority changed from Unknown to P1
    • Property Ready set
  • Ticket #5777 – Description

    initial v1  
    11=== How to reproduce === 
    2  1. change the target translations of a crowdin project you have access to to e.g. german only 
    3  1. go to the repo "adblockpluschrome" 
    4  2. temporarily change "basename" in "metadata.chrome" to that crowdin-project you have access to 
    5  3. try to update the target translations for the project: 
    6  
    7 `./build.py -t chrome setuptrans <project-api-key> 
     2 1. change the target translations of a crowdin project you have access to to e.g. German only. 
     3 1. Go to the repo "adblockpluschrome". 
     4 2. Temporarily change "basename" in "metadata.chrome" to `this-is-very-much-a-test-proje`. 
     5 3. Rry to update the target translations for the project: 
     6{{{ 
     7./build.py -t chrome setuptrans <project-api-key>` 
     8}}} 
    89 
    910=== Observed behaviour === 
     
    1415 
    1516=== NOTE === 
    16 This might also affect cms, which might not be recognized due to the tests mocking the crowdin api 
     17- This will also affect the cms, which might not be recognized due to the tests mocking the Crowdin API. 
     18- Uploading new files is also failing.