Podpora The Movie Database

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 odpovědí (na stránce 1 z 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

Nemůžete nalézt film nebo seriál? Přihlaste se pro jeho vytvoření.

Globální

s zaměřit panel hledání
p otevřít nabídku profilu
esc zavřít otevřené okno
? otevřít okno klávesových zkratek

Na stránkách médií

b zpět (nebo na nadřazený záznam, pokud to jde)
e na stránku úprav

Na stránkách sezón

(šipka vpravo) na další sezónu
(šipka vlevo) na předchozí sezónu

Na stránkách epizod

(šipka vpravo) na další epizodu
(šipka vlevo) na předchozí epizodu

Na všech stránkách obrázků

a otevřít okno přidání obrázku

Na všech stránkách úprav

t otevřít výběr překladu
ctrl+ s odeslat formulář

Na stránkách diskusí

n vytvořit novou diskusi
w přepnout stav zhlédnutí
p přepnout veřejný a soukromý
c přepnout zavřít a otevřít
a otevřít aktivitu
r odpovědět na diskusi
l na poslední odpověď
ctrl+ enter odeslat zprávu
(šipka vpravo) další stránka
(šipka vlevo) předchozí stránka

Nastavení

Want to rate or add this item to a list?

Přihlásit se