Using the above as an example, the name field is returned as an empty string. Should it return the original name for each language?
Vai nevarat atrast filmu vai TV pārraidi? Piesakieties, lai to izveidotu.
Vai vēlaties novērtēt vai uzskaitīt šo vienumu?
Vai neesat biedrs?
Atbildēt no Travis Bell
on septembris 21, 2020 at 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
Atbildēt no rectifyer
on septembris 21, 2020 at 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
Atbildēt no Travis Bell
on septembris 21, 2020 at 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.
Atbildēt no rectifyer
on septembris 21, 2020 at 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!