Hello i'm actually trying to get the translation for some films and series (in french) and sometimes the translation is available and other times the translation isn't available, but on the web site of THE MOVIE DB all the movies and series have a translation in french so if you know how they do or how i can have all the translation tell me please .
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Travis Bell
بتاريخ ديسمبر 10, 2018 في 11:40 صباحا
What's an example request that you're making that isn't working like you expect?
رد بواسطة vilaty
بتاريخ ديسمبر 11, 2018 في 3:53 صباحا
$movie_url = 'https://api.themoviedb.org/3/movie/44217/translations?api_key=MyAPI_KEY'; In this exemple i want the translation for vikings in french and the translation isn't available only 5 languages are available :/ and on the database website the description is in french how did you get it ?
رد بواسطة Travis Bell
بتاريخ ديسمبر 11, 2018 في 9:33 صباحا
I'm going to assume you're actually looking for the TV show Vikings, is that right? If so, you need to make a call to the TV endpoints, not movie. The id
44217
you are calling above is for the movie Jasmine Woman.Or better yet, with
append_to_response
:رد بواسطة vilaty
بتاريخ ديسمبر 12, 2018 في 3:49 صباحا
Thank's for the tips ( about append_to_response ) but i didn't see the translation in french :( . Should I put a translation=fr ? or something ?
رد بواسطة Travis Bell
بتاريخ ديسمبر 12, 2018 في 10:17 صباحا
Did you update your request URL to the TV method? The call you were making above is to the movie, not the TV show.
And the response, which I've truncated but as you can see French is there:
رد بواسطة vilaty
بتاريخ ديسمبر 13, 2018 في 5:09 صباحا
oh ok I think i found what I was looking for Thank's Travis