Primary Translations
curl --request GET \
--url 'https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D='import requests
url = "https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
"af-ZA",
"ar-AE",
"ar-BH",
"ar-EG",
"ar-IQ",
"ar-JO",
"ar-LY",
"ar-MA",
"ar-QA",
"ar-SA",
"ar-TD",
"ar-YE",
"be-BY",
"bg-BG",
"bn-BD",
"br-FR",
"ca-AD",
"ca-ES",
"ch-GU",
"cs-CZ",
"cy-GB",
"da-DK",
"de-AT",
"de-CH",
"de-DE",
"el-CY",
"el-GR",
"en-AG",
"en-AU",
"en-BB",
"en-BZ",
"en-CA",
"en-CM",
"en-GB",
"en-GG",
"en-GH",
"en-GI",
"en-GY",
"en-IE",
"en-JM",
"en-KE",
"en-LC",
"en-MW",
"en-NZ",
"en-PG",
"en-TC",
"en-US",
"en-ZM",
"en-ZW",
"eo-EO",
"es-AR",
"es-CL",
"es-DO",
"es-EC",
"es-ES",
"es-GQ",
"es-GT",
"es-HN",
"es-MX",
"es-NI",
"es-PA",
"es-PE",
"es-PY",
"es-SV",
"es-UY",
"et-EE",
"eu-ES",
"fa-IR",
"fi-FI",
"fr-BF",
"fr-CA",
"fr-CD",
"fr-CI",
"fr-FR",
"fr-GF",
"fr-GP",
"fr-MC",
"fr-ML",
"fr-MU",
"fr-PF",
"ga-IE",
"gd-GB",
"gl-ES",
"he-IL",
"hi-IN",
"hr-HR",
"hu-HU",
"id-ID",
"it-IT",
"it-VA",
"ja-JP",
"ka-GE",
"kk-KZ",
"kn-IN",
"ko-KR",
"ku-TR",
"ky-KG",
"lt-LT",
"lv-LV",
"ml-IN",
"mr-IN",
"ms-MY",
"ms-SG",
"nb-NO",
"nl-BE",
"nl-NL",
"no-NO",
"pa-IN",
"pl-PL",
"pt-AO",
"pt-BR",
"pt-MZ",
"pt-PT",
"ro-MD",
"ro-RO",
"ru-RU",
"si-LK",
"sk-SK",
"sl-SI",
"so-SO",
"sq-AL",
"sq-XK",
"sr-ME",
"sr-RS",
"sv-SE",
"sw-TZ",
"ta-IN",
"te-IN",
"th-TH",
"tl-PH",
"tr-TR",
"uk-UA",
"ur-PK",
"uz-UZ",
"vi-VN",
"zh-CN",
"zh-HK",
"zh-SG",
"zh-TW",
"zu-ZA"
]Configuration
Primary Translations
This endpoint is used to get a list of the officially supported translations on TMDB.
GET
/
3
/
configuration
/
primary_translations
Primary Translations
curl --request GET \
--url 'https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D='import requests
url = "https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D="
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D=', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D=",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D="
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D=")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.themoviedb.org/3/configuration/primary_translations?%7B%7Bkey%7D%7D=")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
"af-ZA",
"ar-AE",
"ar-BH",
"ar-EG",
"ar-IQ",
"ar-JO",
"ar-LY",
"ar-MA",
"ar-QA",
"ar-SA",
"ar-TD",
"ar-YE",
"be-BY",
"bg-BG",
"bn-BD",
"br-FR",
"ca-AD",
"ca-ES",
"ch-GU",
"cs-CZ",
"cy-GB",
"da-DK",
"de-AT",
"de-CH",
"de-DE",
"el-CY",
"el-GR",
"en-AG",
"en-AU",
"en-BB",
"en-BZ",
"en-CA",
"en-CM",
"en-GB",
"en-GG",
"en-GH",
"en-GI",
"en-GY",
"en-IE",
"en-JM",
"en-KE",
"en-LC",
"en-MW",
"en-NZ",
"en-PG",
"en-TC",
"en-US",
"en-ZM",
"en-ZW",
"eo-EO",
"es-AR",
"es-CL",
"es-DO",
"es-EC",
"es-ES",
"es-GQ",
"es-GT",
"es-HN",
"es-MX",
"es-NI",
"es-PA",
"es-PE",
"es-PY",
"es-SV",
"es-UY",
"et-EE",
"eu-ES",
"fa-IR",
"fi-FI",
"fr-BF",
"fr-CA",
"fr-CD",
"fr-CI",
"fr-FR",
"fr-GF",
"fr-GP",
"fr-MC",
"fr-ML",
"fr-MU",
"fr-PF",
"ga-IE",
"gd-GB",
"gl-ES",
"he-IL",
"hi-IN",
"hr-HR",
"hu-HU",
"id-ID",
"it-IT",
"it-VA",
"ja-JP",
"ka-GE",
"kk-KZ",
"kn-IN",
"ko-KR",
"ku-TR",
"ky-KG",
"lt-LT",
"lv-LV",
"ml-IN",
"mr-IN",
"ms-MY",
"ms-SG",
"nb-NO",
"nl-BE",
"nl-NL",
"no-NO",
"pa-IN",
"pl-PL",
"pt-AO",
"pt-BR",
"pt-MZ",
"pt-PT",
"ro-MD",
"ro-RO",
"ru-RU",
"si-LK",
"sk-SK",
"sl-SI",
"so-SO",
"sq-AL",
"sq-XK",
"sr-ME",
"sr-RS",
"sv-SE",
"sw-TZ",
"ta-IN",
"te-IN",
"th-TH",
"tl-PH",
"tr-TR",
"uk-UA",
"ur-PK",
"uz-UZ",
"vi-VN",
"zh-CN",
"zh-HK",
"zh-SG",
"zh-TW",
"zu-ZA"
]Authorizations
Response
200 - application/json
OK
Example:
[
"af-ZA",
"ar-AE",
"ar-BH",
"ar-EG",
"ar-IQ",
"ar-JO",
"ar-LY",
"ar-MA",
"ar-QA",
"ar-SA",
"ar-TD",
"ar-YE",
"be-BY",
"bg-BG",
"bn-BD",
"br-FR",
"ca-AD",
"ca-ES",
"ch-GU",
"cs-CZ",
"cy-GB",
"da-DK",
"de-AT",
"de-CH",
"de-DE",
"el-CY",
"el-GR",
"en-AG",
"en-AU",
"en-BB",
"en-BZ",
"en-CA",
"en-CM",
"en-GB",
"en-GG",
"en-GH",
"en-GI",
"en-GY",
"en-IE",
"en-JM",
"en-KE",
"en-LC",
"en-MW",
"en-NZ",
"en-PG",
"en-TC",
"en-US",
"en-ZM",
"en-ZW",
"eo-EO",
"es-AR",
"es-CL",
"es-DO",
"es-EC",
"es-ES",
"es-GQ",
"es-GT",
"es-HN",
"es-MX",
"es-NI",
"es-PA",
"es-PE",
"es-PY",
"es-SV",
"es-UY",
"et-EE",
"eu-ES",
"fa-IR",
"fi-FI",
"fr-BF",
"fr-CA",
"fr-CD",
"fr-CI",
"fr-FR",
"fr-GF",
"fr-GP",
"fr-MC",
"fr-ML",
"fr-MU",
"fr-PF",
"ga-IE",
"gd-GB",
"gl-ES",
"he-IL",
"hi-IN",
"hr-HR",
"hu-HU",
"id-ID",
"it-IT",
"it-VA",
"ja-JP",
"ka-GE",
"kk-KZ",
"kn-IN",
"ko-KR",
"ku-TR",
"ky-KG",
"lt-LT",
"lv-LV",
"ml-IN",
"mr-IN",
"ms-MY",
"ms-SG",
"nb-NO",
"nl-BE",
"nl-NL",
"no-NO",
"pa-IN",
"pl-PL",
"pt-AO",
"pt-BR",
"pt-MZ",
"pt-PT",
"ro-MD",
"ro-RO",
"ru-RU",
"si-LK",
"sk-SK",
"sl-SI",
"so-SO",
"sq-AL",
"sq-XK",
"sr-ME",
"sr-RS",
"sv-SE",
"sw-TZ",
"ta-IN",
"te-IN",
"th-TH",
"tl-PH",
"tr-TR",
"uk-UA",
"ur-PK",
"uz-UZ",
"vi-VN",
"zh-CN",
"zh-HK",
"zh-SG",
"zh-TW",
"zu-ZA"
]
Was this page helpful?
⌘I