The Movie Database-ondersteuning

Hi all,

thanks for that fancy API.

While developing I stumbled across some inconsistencies between the content on the website and what the API returns. See my screenshot here: https://www.evernote.com/l/AMbBJVlXqZxOOLTvbH4q5bHI4ChPEXwwL6U

According to the website Seven Samurai is called "Seven Samurai" in the US and "Sieben Samurai" in Germany, while the API claims it's "Shichinin no samurai" in both countries.

Am I doing something wrong here?

Cheers, Losty

3 antwoorde (op blad 1 van 1)

Jump to last post

Hi losty,

Alternative titles don't have anything to do with translations. Alternative titles are discrete objects added to movies to help with things like misspellings and working titles. They are tagged by country, not language. See here.

Translations are queried by using the language parameter and all of the responses will return 2 fields, original_title and title. title will hold the translated value.

Although that evernote-links appears to be restricted/access denied, I see your point.

However: in both cases it's called "alternate title" - shouldn't it be the same data then?

BTW: is there a way to query all available translations in one request? All I could find is to query "movie/id/translations" and then fetch the details for each language...

Hey losty,

I just changed the link to the image, perhaps that will help.

I'm not sure what you mean by both called "alternative title". Alternative titles are queried on the API with the /alternative_titles method. Translations are called with the language parameter. On the edit pages, they are simply referred to as "Translated Title" and the completely different "Alternative Titles" editing page. They are totally separate.

You cannot call all of the translations in a single call but you can call the /translations method which will list all of the translations that exist for a movie.

Kan ’n rolprent of TV-program nie vind nie? Teken aan om dit te skep.

Globaal

s fokus op soekbalk
p open profielkieslys
esc sluit ’n oop venster
? open sneltoetsvenster

Op mediablaaie

b gaan terug (na ouer waar van toepassing)
e gaan na wysigblad

Op TV-seisoenblaaie

(regterpyl) gaan na volgende seisoen
(linkerpyl) gaan na vorige seisoen

Op TV-episodeblaaie

(regterpyl) gaan na volgende episode
(linkerpyl) gaan na vorige episode

Op alle beeldblaaie

a open beeldtoevoegvenster

Op alle wysigingsblaaie

t open vertaalkieser
ctrl+ s dien form in

Op besprekingsblaaie

n skep nuwe bespreking
w tokkel kykstatus
p tokkel openbaar/privaat
c tokkel maak oop/toe
a open aktiwiteit
r reageer op bespreking
l gaan na laaste reaksie
ctrl+ enter dien u boodskap in
(regterpyl) volgende blad
(linkerpyl) vorige blad

Instellings

Wil u hierdie item gradeer of tot ’n lys toevoeg?

Teken aan