Axuda de The Movie Database

Discover API gets with_original_language parameter.
I want to get list of languages, to show user to choose.
A see https://api.themoviedb.org/3/configuration/languages but it returns only English and itself name. It doesn't take language= parameter.
How to get that info (languages with names in user GUI locale)?

For countries https://api.themoviedb.org/3/configuration/countries a can use language= and I see names in user GUI locale.
It's exactly what I want for languages list.

3 respostas (na páxina 1 de 1)

Jump to last post

@rysson said:
List of all languages in given language (in user locale)
Discover API gets with_original_language parameter.
I want to get list of languages, to show user to choose.
A see https://api.themoviedb.org/3/configuration/languages but it returns only English and itself name.
It doesn't take language= parameter.
How to get that info (languages with names in user GUI locale)?

As far as I know, we don't have it in the API.
You would have to resolve it on your side using the ISO 639-1 Code and adding the language name in your language.

45  
iso_639_1   "hi"
english_name    "Hindi"
name    "हिन्दी"
46  
iso_639_1   "pt"
english_name    "Portuguese"
name    "Português"

I don't even see anything similar in Trello lists.
https://trello.com/b/bVlsp6wz/api?filter=lang
https://trello.com/b/k34aFUme/web?filter=lang

Yes, I do it know.
I see translated languages on the web site. It's why I'm searching native_name in the languages API.

Should I add a card in trello?

@rysson said:
Should I add a card in trello?

I don't think you can add, you can only vote.

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