Assistance de TMDB

I just stumbled across a problem in the translations endpoint for collection (and also saw one missing thing). I tried the following things with the collection "Asterix and Obelix (Animation) Collection / 94039"

  1. when calling the collections details with any language which is not translated, I get the "default" title of the collection (which is probably EN in this case, but the API offers absolutely NO information about the language the title is in). Just call the endpoint with the language Indonesian (ID) and the collection.name is filled (but with EN) and the overview is empty. But when looking at the translation endpoint for that collection, you see that neither the name nor the overview is translated into EN, which shows me that there is some sort of fallback in the API itself. Which leads to point 2:

  2. when calling the translation service of the collection, I do not see any title translation for EN, but an overview translation. As I saw in the request before, I know that there is an English translation! Let us construct an example: our user understands Indonesian, English and Fench, so he wants the title either in Indonesian or English or French. Calling this API for ID, returns the collection name in

  3. collection.name = EN

  4. translations: ID = empty, EN = empty, FR = filled

Since I do not know that collection.name is in EN (and not DE for example) I must use the collection.name in FR since this is the only translation I am sure about.

Due to the combination of this two behaviors it is almost impossible to fetch the correct translations for our users, since I never know which part is translated and which not (but injected by the API with default values!). This also leads to my request

  1. please also add the append_to_response for collection images AND collection translation to help up avoiding unnecessary requests!

1 réponse (sur la page 1 sur 1)

Jump to last post

This work for collections the same way as for movies and series.

If there are no translation in a given language,

  • for the title, it default to the "original title" (or "original name" for a series)
  • the overview will be empty as there is no "original overview" field.

This is visible here.

Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.

Général

s Mettre le curseur dans la barre de recherche
p Ouvrir le menu du profil
esc Fermer une fenêtre ouverte
? Ouvrir la fenêtre des raccourcis clavier

Sur les pages des médias

b Retour (ou vers le parent si faisable)
e Afficher la page de modification

Sur les pages des saisons des émissions télévisées

Afficher la saison suivante (flèche droite)
Afficher la saison précédente (flèche gauche)

Sur les pages des épisodes des émissions télévisées

Afficher l'épisode suivant (flèche droite)
Afficher l'épisode précédent (flèche gauche)

Sur toutes les pages des images / photos

a Ouvrir la fenêtre d'ajout d'image / photo

Sur toutes les pages de modifications

t Ouvrir le sélecteur de traduction
ctrl+ s Envoyer le formulaire

Sur les pages des discussions

n Créer une nouvelle discussion
w Basculer le statut de suivi
p Basculer publique / privée
c Basculer fermer / ouvrir
a Ouvrir l'activité
r Répondre à la discussion
l Afficher la dernière réponse
ctrl+ enter Envoyer votre message
Page suivante (flèche droite)
Page précédente (flèche gauche)

Paramètres

Vous souhaitez évaluer ou ajouter cet élément à une liste ?

Connexion