In this video, see how you can get language names, provided you send in the language codes.
- [Instructor] Now we just examined…two different ways of getting the supported languages,…and you know if you look at the output that you got back,…you saw these language codes, EN, ET, FJ,…but what does FJ mean?…Fijian?…I'm not sure.…Can we find out?…So the thing is, that sometimes you want…an English-friendly description…for that particular language,…so you pass in the language code,…and you wish to know what the actual language was.…
Luckily, the translate text API supports exactly that.…Let's see how that works.…So we say function get language names,…so you can get the names from multiple languages…at one time, and actually when you're asking…for these language names, you may want to say,…hey I'd like the names returned in German, for instance.…So I will say locale, string.…So this is the locale we are asking for the languages in.…So we'll say const request options, is get request options,…so that helper method that we had down there,…and here I'm going to make some minor modifications…to the returned object.…
Author
Released
4/10/2018- Using the Translate Text API
- Getting supported languages
- Writing code to translate between languages
- Performing text to speech
- Setting up speech to text
- Writing code for speaker identification
Skill Level Advanced
Duration
Views
Related Courses
-
Creating Bots with the Microsoft Bot Framework, Part 1
with Scott Peterson45m 41s Intermediate -
Learning Microsoft Cognitive Services for Developers
with Sahil Malik1h 42m Intermediate
-
Introduction
-
Welcome57s
-
What you should know1m 37s
-
-
1. The Basics
-
Introduction2m 56s
-
Set up a Node.js project4m 34s
-
-
2. Translation Text API
-
Set up a project1m 39s
-
Get language names5m 7s
-
Break apart longer sentences3m 23s
-
Get languages for Speak1m 53s
-
Performing Text-to-Speech3m 46s
-
-
3. Bing Speech API
-
Speech to Text5m 5s
-
Bing Speech Text-to-Speech3m 59s
-
4. Speaker Recognition API
-
Write business objects1m 41s
-
Enrolling the first user6m 3s
-
Enrolling the second user2m 14s
-
Identifying speakers4m 53s
-
Conclusion
-
Next steps1m 9s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Get language names