Using the above as an example, the name field is returned as an empty string. Should it return the original name for each language?
Un film, une émission télévisée ou un artiste est introuvable ? Connectez-vous afin de créer une nouvelle fiche.
Vous souhaitez évaluer ou ajouter cet élément à une liste ?
Pas encore membre ?
Réponse de Travis Bell
le 21 septembre 2020 à 18h08
Which field are you referring to exactly, the
name
field? Here's an example request I just did, the field is being returned...Request
Response
Réponse de rectifyer
le 21 septembre 2020 à 18h28
It's actually the translations API, here's a full example. I think I found the reason, it uses the translated name field, so if that is blank for the locale, the API also returns a blank string. Maybe this can fall back to the original name if the translated name is blank? or the original name can also be included?
In the example below, I filled in the translated name (used the same value as original name) and the name field is there for the Norwegian translation.
Request
Response
Réponse de Travis Bell
le 21 septembre 2020 à 18h38
Ah in that case, this is expected. We can only display the data that has been entered. It's the same as the data you can see being returned here.
Réponse de rectifyer
le 21 septembre 2020 à 18h42
Ok gotcha, thanks for the info. I'll just have users fill in the translated fields with the correct info and that should address the missing data they are seeing. Thanks!