Add google translation API to your android application.
STEPS TO ADD GOOGLE TRANSLATION API TO YOUR ANDROID APPLICATION:
STEP 1: First add google translation dependency in your app level gradle.
STEP 2: Then, follow these steps.
Go to this site to Create service account.
STEP 3: After clicking on create service account key, you need to:
- You need to create a New project in credentials.
- Then, add Translation API to your project.
STEP 4: Download the JSON file in your computer.
STEP 5: Add JSON file to your android project.
After following these steps, you will able to use Google translation in your application.
Subscribe to stay updated.