When I use the api in spanish, I saw that Title shows the Original Title and in parenthesis the Translated Title, for example The Queen (id:1165), in spanish "title": "The Queen(La Reina)" while "original_title": "The Queen".
Should the api return "title": "La Reina" and "original_title": "The Queen" and let the consumer application mix or not the titles?
Maybe for a future api version, or to be compatible with already made applications add a "translated_title" item.
In my case, for a spanish name I have to remove the original_title from title, then remove the parenthesis then build the same string again because some other movies and/or some other scrappers have no mix.
Saying in some other way, there is no way to get the translated title from a json item without some code that can fail because changes. In the case of this movie, there is no spanish title using: get/movie/{movie_id}/alternative_titles.
Não consegue encontrar um certo Filme ou Série? Inicie Sessão e adicione-o.
Deseja classificar ou adicionar este item a uma lista?
Ainda não é um membro?
Resposta de ticao2 🇧🇷 pt-BR
em 29 novembro 2020 às 8:44 AM
The response to an API Request is the data or translations that have been entered by users.
In this case:
Original Title: The Queen
Title: The Queen (La Reina)
Understand Title as Translated Title or Local Title or Localized Title or Title used in your country.
It is not necessarily a Translation or Literal Translation, the exact words of the original text.
What was entered in the field is what you will receive in the response.
The Title must be the one used on screen when you watch movie.
Do you know which one was used?
If you know a good source for this information, please post it here.
In the poster we have here, in Spanish, the title is The Queen and we have it right below (LA REINA).
https://image.tmdb.org/t/p/original/e2nS4Yl8ggUlAV2qpnLRYL4Hatb.jpg
I believe that this is why the Title is with The Queen (La Reina).
Resposta de backupluis
em 29 novembro 2020 às 6:11 PM
Thank for your response. It's ok because the cover title says it on some spanish markets, I just wondering because I though that it could be the translated title, my fail. Anyway, I found the cover of the released dvd in argentina and only says "La Reina" https://imgur.com/a/qLMr9bR I use to build title with: title (original_title) because most of the scrappers and other api's don't include the text of original_title into title, except tmdb and this movie. In this case, title INCLUDE the original title, from my point of view is a redundancy of data, but is the way that was presented in the cover, so, it's ok.
Thanks!!!!