Using the above as an example, the name field is returned as an empty string. Should it return the original name for each language?
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 Travis Bell
em 21 setembro 2020 às 6:08 PM
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
Resposta de rectifyer
em 21 setembro 2020 às 6:28 PM
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
Resposta de Travis Bell
em 21 setembro 2020 às 6:38 PM
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.
Resposta de rectifyer
em 21 setembro 2020 às 6:42 PM
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!