Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Google Cloud AI Services Quick Start Guide

You're reading from   Google Cloud AI Services Quick Start Guide Build intelligent applications with Google Cloud AI services

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781788626613
Length 234 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Arvind Ravulavaru Arvind Ravulavaru
Author Profile Icon Arvind Ravulavaru
Arvind Ravulavaru
Arrow right icon
View More author details
Toc

Integrating Translate API with SmartExchange

Now that we have seen what can be done using Translate API, let's actually integrate this into SmartExchange. Next to every text message, we are going have a translate button. When the user clicks on the button, we show a popup with the Message text and a dropdown to pick the target language to translate this message to. Once we have successfully translated it, we are going to show the translated text in the same popup. The final output of the text analysis will look as shown here:

So, let's get started with the implementation.

Solution design

To achieve our solution, we are going to do the following:

  1. On the view-thread page, the user is going see a Translate button...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image