Wsparcie 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 odpowiedzi (strona 1 z 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.

Nie możesz znaleźć filmu lub serialu? Zaloguj się, aby go utworzyć.

Globalny

s zaznacz pasek wyszukiwania
p otwórz menu profilu
esc Zamknij otwarte okno
? otwórz okno skrótów klawiszowych

On media pages

b go back (or to parent when applicable)
e przejdź do strony edycji

On TV season pages

(prawa strzałka) przejdź do następnego sezonu
(lewa strzałka) przejdź do poprzedniego sezonu

On TV episode pages

(prawa strzałka) przejdź do następnego odcinka
(lewa strzałka) przejdź do poprzedniego odcinka

On all image pages

a otwórz okno dodawania obrazu

On all edit pages

t open translation selector
ctrl+ s prześlij formularz

On discussion pages

n otwórz nową dyskusję
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r odpowiedz na dyskusję
l przejdź do ostatniej odpowiedzi
ctrl+ enter wyślij swoją wiadomość
(prawa strzałka) następna strona
(lewa strzałka) poprzednia strona

Ustawienia

Want to rate or add this item to a list?

Zaloguj