Closed LukasBicus closed 10 years ago
If you add ?lang=es-ES
to the URL then you'll receive results in Spanish. More languages will be added over time.
If I do a call:
http://www.khanacademy.org/api/v1/topic/new-and-noteworthy/videos?lang=es-ES
I got results in Spanish and that is excellent. But video content don't change. Does that mean, that there is no way to get videos in Spanish language?
For videos that have translated content, the translated video will be reflected in a new field 'translated_youtube_id'. Videos that have not yet been translated will have the English video in that field. You can use 'translated_youtube_lang' to determine the language that the video referenced by 'translated_youtube_id' is in.
Hi Lukas,
Not all videos have been dubbed yet. Those that are dubbed will have a translated_youtube_id that is different that its youtube_id. You can see the translate_youtube_id= tPx-qVpRA for the second entry in: http://www.khanacademy.org/api/v1/topic/multiplication_fun/videos?lang=es-ES
In general any video that has a dub on es.khanacademy.org should appear in this api with the correct translated_youtube_id.
Thanks for your continued patience as we dub more videos.
-James
On Mon, Oct 14, 2013 at 11:53 PM, LukasBicus notifications@github.comwrote:
If I do a call:
http://www.khanacademy.org/api/v1/topic/new-and-noteworthy/videos?lang=es-ES
I got results in Spanish and that is excellent. But video content don't change. Does that mean, that there is no way to get videos in Spanish language?
—
Reply to this email directly or view it on GitHubhttps://github.com/Khan/khan-api/issues/62#issuecomment-26312717 .
Hi,
in responses, we were able to see tag translated_title. Perhaps this API have support for a localization, does it?
Br. Lukas