How can I use the google translate api in my react native app?

3,950 views
Skip to first unread message

miajoh...@college.harvard.edu

unread,
Nov 28, 2018, 9:59:53 AM11/28/18
to Google Cloud Translation API
I've looked at the docs and many other websites, but nothing I've tried has worked. There must be a way to use google translate in a react native app, but I'm stuck. How can I implement google translate into my react native app? My app needs to be able to translate words and phrases.

Any help is VERY appreciated!! I've been struggling with this for weeks. :(

Jun (Cloud Platform Support)

unread,
Nov 28, 2018, 11:37:11 PM11/28/18
to Google Cloud Translation API
After some research, I suggest that you can try either of the following two ways to use the Cloud Translation API in your React Native App:

1- It looks you can follow the instructions at the google-translate-api, which should be the simplest way to use the Cloud Translation API; 

2- You can use the Power Translator but specify google translate as the ProviderTypes in order to use the Cloud Translation API; 
Reply all
Reply to author
Forward
0 new messages