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
لم تجد الفلم أو المسلسل ؟ سجل دخولك و انشئها
هل تريد تقييم او اضافة هذا العنصر للقائمة؟
لست عضو؟
رد بواسطة ticao2 🇧🇷 pt-BR
بتاريخ ديسمبر 15, 2023 في 11:53 صباحا
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
رد بواسطة streamingal
بتاريخ ديسمبر 16, 2023 في 3:25 صباحا
Awesome! Thank you ticao2