This tutorial explores the relevant aspects of using the Google Translate API to translate texts between languages.
In addition to explaining how to make the API calls, this tutorial also covers the steps required to create a Google account and enable the Translate API.
As the Google Translate API is part of the Google Cloud Platform, you need to join the free trial of Google Cloud Platform.
You need to provide your credit card details, however you generally won't be charged during the free trial.
Please check the Google Cloud Platform terms and conditions for more details.