The Movie Database Support

Is there a way to fetch a list of all the language codes via the API? I am looking to populate a drop-down list with all the languages and let user filter.

1 reply (on page 1 of 1)

Jump to last post

@seyman said:
get languages for listing?
Is there a way to fetch a list of all the language codes via the API?
I am looking to populate a drop-down list with all the languages and let user filter.

We have 3 different lists
In some cases the ISO 639-1 language code is used.
In other cases the ISO 3166-1 country code is used.
And in other cases the combination, language-COUNTRY, of the two codes.
You can make an API request to obtain these lists.

get/configuration/primary_translations
https://developers.themoviedb.org/3/configuration/get-primary-translations

https://api.themoviedb.org/3/configuration/primary_translations?api_key=THE_KEY   

get/configuration/languages
https://developers.themoviedb.org/3/configuration/get-languages

https://api.themoviedb.org/3/configuration/languages?api_key=THE_KEY  

get/configuration/countries
https://developers.themoviedb.org/3/configuration/get-countries

https://api.themoviedb.org/3/configuration/countries?api_key=THE_KEY  

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

Want to rate or add this item to a list?

Login