Axuda de 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 respostas (na páxina 1 de 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

Non podes atopar unha película ou serie? Inicia sesión para creala.

Global

s amosar a barra de procura
p abrir menú do perfil
esc pechar e abrir xanela
? abrir xanela de atallos do teclado

En páxinas de medios

b atrás (ou á principal se aplica)
e ir a editar páxina

En páxinas de tempadas de televisión

(flecha dereita) ir á tempada seguinte
(flecha esquerda) ir á tempada anterior

En páxinas de episodios de televisión

(flecha dereita) ir ao episodio seguinte
(flecha esquerda) ir ao episodio anterior

En todas as páxinas de imaxe

a abrir a xanela de engadir imaxe

En todas as páxinas de edición

t abrir selector de traducións
ctrl+ s enviar formulario

Nas páxinas de debate

n crear un novo debate
w amosar o estado do seguimento
p mudar público/privado
c mudar abrir/pechar
a abrir actividade
r responder no debate
l ir á última resposta
ctrl+ enter eviar a túa mensaxe
(flecha dereita) páxina seguinte
(flecha esquerda) ir á páxina anterior

Configuración

Queres valorar ou engadir o elemento a unha listaxe?

Iniciar sesión