- After an entry in Contentful is published, it can send a webhook with the entry data to txcf service. Example of such hook is posted below.
- txcf service should parse en keys from all fields and build a json document cf_{entry_id}_en.json
- cf_{entry_id}_en.json should be pushed as a resource to lumos-static-site-generator project in Transifex.
- After cf_{entry_id}_en.json is translated, Transifex can send a webhook with resource data to txcf service. Example of such hook is posted below.
- txcf service should update the entry with the corresponding id and locale in Contentful via API call.
- txcf service should publish the entry (this will bring us to step 1 which is ok, since step 4 is triggered only after there are new translations).