Automatically translate WPML duplicated post to any language via Google Translation API.
You must have composer on your machine and then run:
composer install
Get your Google Cloud Transtion API key at https://cloud.google.com/translate/docs/
Go to WPML Post Translator Settings and add the key and define CRON settings if you want to enable it and you should be good to go.