Add google translation API to your android application.

Himanshu Choudhary
1 min readJun 21, 2018

STEPS TO ADD GOOGLE TRANSLATION API TO YOUR ANDROID APPLICATION:

STEP 1: First add google translation dependency in your app level gradle.

Installing the client library.

STEP 2: Then, follow these steps.

Creating a service account.

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.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

No responses yet

Write a response