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 .
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة Greg
بتاريخ فبراير 28, 2017 في 12:55 مساءا
Anybody?
رد بواسطة Travis Bell
بتاريخ مارس 1, 2017 في 6:48 مساءا
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.
رد بواسطة Greg
بتاريخ مارس 2, 2017 في 3:03 صباحا
@travisbell could any one create a translation for "zh" without country code?
رد بواسطة Travis Bell
بتاريخ مارس 2, 2017 في 10:34 صباحا
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.رد بواسطة Greg
بتاريخ مارس 3, 2017 في 3:20 مساءا
@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!