Let’s create a json file, call it languages.json. We also need a select box that lists different languages to choose from for translation. We need an input box for text that needs to be translated and another output section to display the translated text.
Now open Translator folder with your favourite code editor and create a file called Translator.js. You should see a folder named Translator created. Use the command line interface to generate a new React Native project called “ Translator“: react-native init Translator Go to React Native Docs, select React Native CLI Quickstart and select your Development OS and Target OS -> Android, as we are going to build an Android application.įollow the docs for installing dependencies and create a new React Native Application.
In this blog, we are going to learn how to create a simple React Native based Language Translation Android app with Speech to Text and Text to Speech capabilities powered by Google APIs.