Hi, I would like to have translated status like the TMDB page.
I made a script like this :
import requests
url = "https://api.themoviedb.org/3/movie/343611?language=fr-FR"
headers = {
"accept": "application/json",
"Authorization": "xxx"
}
response = requests.get(url, headers=headers)
The response received have the right french title but things like countries or status are stilled in English but not into the TMDB page https://www.themoviedb.org/movie/343611-jack-reacher-never-go-back (where Released is translated into "Film sorti" for example)
{
"adult": false,
"backdrop_path": "/ww1eIoywghjoMzRLRIcbJLuKnJH.jpg",
"belongs_to_collection": {
"id": 403374,
"name": "Jack Reacher - Saga",
"poster_path": "/qtafXiYDUMKxzsssU41qWey5oiT.jpg",
"backdrop_path": "/vViRXFnSyGJ2fzMbcc5sqTKswcd.jpg"
},
"budget": 60000000,
"genres": [
{
"id": 28,
"name": "Action"
},
{
"id": 53,
"name": "Thriller"
}
],
"homepage": "",
"id": 343611,
"imdb_id": "tt3393786",
"original_language": "en",
"original_title": "Jack Reacher: Never Go Back",
"overview": "Jack Reacher est de retour, prêt à tout pour obtenir justice. Susan Turner, qui dirige son ancienne unité, est arrêtée pour trahison : Jack Reacher ne reculera devant rien pour prouver l’innocence de la jeune femme. Ensemble, ils sont décidés à faire éclater la vérité sur ce complot d’État.",
"popularity": 61.428,
"poster_path": "/yxvVAiTSfwDROzLEH8twDyWCmvb.jpg",
"production_companies": [
{
"id": 82819,
"logo_path": "/gXfFl9pRPaoaq14jybEn1pHeldr.png",
"name": "Skydance Media",
"origin_country": "US"
},
{
"id": 83645,
"logo_path": null,
"name": "Huahua Media",
"origin_country": "CN"
},
{
"id": 3407,
"logo_path": "/iVMjKOFyRvm9PW45lW1wW6TSvnj.png",
"name": "Shanghai Film Group",
"origin_country": "CN"
},
{
"id": 21777,
"logo_path": null,
"name": "TC Productions",
"origin_country": "US"
},
{
"id": 4,
"logo_path": "/gz66EfNoYPqHTYI4q9UEN4CbHRc.png",
"name": "Paramount",
"origin_country": "US"
}
],
"production_countries": [
{
"iso_3166_1": "CN",
"name": "China"
},
{
"iso_3166_1": "US",
"name": "United States of America"
}
],
"release_date": "2016-10-19",
"revenue": 162100000,
"runtime": 118,
"spoken_languages": [
{
"english_name": "English",
"iso_639_1": "en",
"name": "English"
}
],
"status": "Released",
"tagline": "Sans concession, sans remords, sans retour",
"title": "Jack Reacher : Never Go Back",
"video": false,
"vote_average": 5.97,
"vote_count": 4644
}
¿No encuentras una película o serie? Inicia sesión para crearla:
¿Quieres puntuar o añadir este elemento a una lista?
¿No eres miembro?
Contestado por Travis Bell
el 26 de febrero de 2024 a las 16:08
Hi @blacklotus974,
The extra elements you're asking about are not translated on the API.
Contestado por blacklotus974
el 26 de febrero de 2024 a las 16:16
Thanks for the reply. So it's translated into the website but we can't have it translated via the api, right ?
Contestado por Travis Bell
el 27 de febrero de 2024 a las 17:39
The websites translation files are located here. If they are of any use to you, great, feel free to use them, otherwise you will have to translate whatever strings you need yourself.