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.
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ticao2 š§š· pt-BR
on December 18, 2022 at 10:12 AM
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
get/configuration/languages
https://developers.themoviedb.org/3/configuration/get-languages
get/configuration/countries
https://developers.themoviedb.org/3/configuration/get-countries