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
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 š§š· pt-BR
on December 15, 2023 at 11:53 AM
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
Reply by streamingal
on December 16, 2023 at 3:25 AM
Awesome! Thank you ticao2