Let's use https://www.themoviedb.org/tv/65249 as example.
zh-TW
I cannot think of where could the API get the "Episode 1" value. I also don't know how to correct it, since we only support four-letter language+country code. Shouldn't we just fallback two-letter language code to the closest match?
This particular issue affects Plex TMDb agent since Plex only has setting for language, but not country. So their queries to TMDb use two-letter language code. As the result, I found the data I added in Mandarin (zh-CN) does not reflects in my Plex db .
Nu găsiți un film sau un serial? Autentificați-vă pentru a-l crea.
Doriți să evaluați sau să adăugați acest articol într-o listă?
Nu sunteți membru?
Răspuns de Greg
pe data de 28 februarie 2017 la ora 12:55 PM
Anybody?
Răspuns de Travis Bell
pe data de 1 martie 2017 la ora 6:48 PM
The fallback data you were seeing was because there was a translation created but the data was empty. The data is now showing correctly of course, because the translation was filled in.
Răspuns de Greg
pe data de 2 martie 2017 la ora 3:03 AM
@travisbell could any one create a translation for "zh" without country code?
Răspuns de Travis Bell
pe data de 2 martie 2017 la ora 10:34 AM
zh
defaults tozh-CN
. But I think it's the same thing I mentioned above.zh
was cached on the API already so when you did your investigating, you were getting data from before you made your edits.zh-CN
was not cached so you saw the correct data right away.Răspuns de Greg
pe data de 3 martie 2017 la ora 3:20 PM
@travisbell gotcha, so it is basically cache delay. The API result looks good now. However my Plex server is still not picking up the right data
. Will have to debug more there. Thanks for explaining it!