Using the above as an example, the name field is returned as an empty string. Should it return the original name for each language?
Es fehlt ein Film oder eine Serie? Logge dich ein zum Ergänzen.
Diesen Eintrag bewerten oder zu einer Liste hinzufügen?
Kein Mitglied?
Antwort von Travis Bell
am 21. September 2020 um 18:08
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
Antwort von rectifyer
am 21. September 2020 um 18:28
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
Antwort von Travis Bell
am 21. September 2020 um 18:38
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.
Antwort von rectifyer
am 21. September 2020 um 18:42
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!