- [Instructor] Another service that we'll use
in our translator app that we'll take
a look at later in this lesson
is the Watson Language Translator Service
which not only gives us the ability
to translate text between various languages.
It also is capable of automatically detecting text
as being written in one of over
60 different languages as well
and of course, other cloud vendors
have similar translation capabilities.
Google I believe supports over 100 languages for example
in their translation capabilities,
So not only are you able to translate
to and from English and many other languages,
there's also support for translating
between other languages directly
and you could always potentially go from
English to another language to a third language
and vice versa if in fact
there's no direct translation capability
and that doesn't guarantee
that you'll get the best translation.
In fact that's kind of a fun exercise to play around with
to see as you go from one language to the next
and eventually back to the language you started with
to see whether or not you get
the same text that you started with.
You might experiment with that.
So let's just take a quick look at this demo
and of course we'll use
the language translator service again later as well.
When you go to this page,
if you scroll down you'll see
that you have the ability to choose the language
from which you're going to translate
into which you're going to translate
and by default it's going to
detect the language automatically.
So if I go and say something like
welcome to Python Programming exclamation point,
it detected automatically that the language was in English
and based on that it shows me
what options I'm allowed to translate to
and if you look through here
you'll see that there's quite a different number
of languages I can go to.
So let's say we want to translate that into Spanish
which we'll be doing later on today
or in this lesson rather
and you can see the Spanish translation.
You can also look at the JavaScript object notation response
that was sent back to the app.
In this case in the context of the web browser.
Later on when we use this service,
we will be picking off this translation key
in this dictionary here so that we can get
our translated text for use in our app.
I would recommend just playing around with this a little bit
trying out different languages to have a little bit of fun.