دعم الموقع

Hi,

I was wondering if there's a way we can add a fallback language to the discover endpoint. Is this already possible?

Use case

I'm trying to fetch content in Galician, but unfortunately, it's a minority spoken in Spain. As a result, some movies lack many fields like the overview but others like the title are correct. It would be awesome if I could choose a fallback language so that missing information is filled in.

Example

curl --request GET \
     --url 'https://api.themoviedb.org/3/discover/movie?include_adult=false&include_video=false&language=gl-ES&page=1&sort_by=popularity.desc' \
     --header 'accept: application/json'

Would respond with only the information available in Galician.

curl --request GET \
     --url 'https://api.themoviedb.org/3/discover/movie?include_adult=false&include_video=false&language=gl-ES,es-ES&page=1&sort_by=popularity.desc' \
     --header 'accept: application/json'

Would respond with whatever information is available in Galician. Missing fields would be filled in with whatever information is available in Spanish.

Why it would be helpful This feature would beparticularly beneficial for users of minority languages. For example, in regions where Galician is spoken, not all content might be available in Galician, and users often miss out on valuable information. By implementing a feature where users can specify a primary language (like Galician) and a fallback language (such as Spanish), we can significantly enhance the user experience! This not only ensures broader accessibility to content but also supports cultural preservation by promoting the use of minority language :)

Sorry, I got an error trying to post this on API Support

2 ردود (على هذه الصفحة 1 من 1)

Jump to last post

There are plans to add this feature.
I believe it will be something similar to your request.
It's already on Trello's To-Do list.
There is no implementation deadline.
If you want you can vote. More votes, faster. :-)
See here: https://trello.com/c/UV1IGYfN/3-add-support-to-fallback-translation-queries

Awesome! Thank you ticao2 relaxed

لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها

عام

s ركز شريط البحث
p افتح قائمة الملف الشخصي
esc اغلق النافذة المفتوحة
? افتح نافذة اختصارات لوحة المفاتيح

على كافة صفحات الوسائط

b ارجع للخلف (او للصفحة الام عند التطبيق)
e انتقل لصفحة التعديل

على كافة صفحات موسم المسلسل

(السهم الايمن) انتقل للموسم التالي
(السهم الايسر) انتقل للموسم السابق

على كافة صفحات حلقة المسلسل

(السهم الايمن) انتقل للحلقة التالية
(السهم الايسر) انتقل للحلقة السابقة

على كافة صفحات الصور

a افتح صفحة اضافة الصورة

على كافة صفحات التعديل

t افتح محدد الترجمة
ctrl+ s ارسال النموذج

على صفحات المناقشة

n انشى نقاش جديد
w تبديل حالة المتابعة
p تبديل عام / خاص
c تبديل اغلاق / فتح
a افتح الانشطة
r رد على النقاش
l انتقل لأخر رد
ctrl+ enter أرسل رسالتك
(السهم الايمن) الصفحة التالية
(السهم الايسر) الصفحة السابقة

الاعدادات

هل تريد تقييم او اضافة هذا العنصر للقائمة؟

تسجيل الدخول