Soporte de The Movie Database

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
}

3 respuestas (en la página 1 de 1)

Jump to last post

Hi @blacklotus974,

The extra elements you're asking about are not translated on the API.

@travisbell said:

Hi @blacklotus974,

The extra elements you're asking about are not translated on the API.

Thanks for the reply. So it's translated into the website but we can't have it translated via the api, right ?

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.

¿No encuentras una película o serie? Inicia sesión para crearla:

Global

s centrar la barra de búsqueda
p abrir menú de perfil
esc cierra una ventana abierta
? abrir la ventana de atajos del teclado

En las páginas multimedia

b retrocede (o a padre cuando sea aplicable)
e ir a la página de edición

En las páginas de temporada de televisión

(flecha derecha) ir a la temporada siguiente
(flecha izquierda) ir a la temporada anterior

En las páginas de episodio de televisión

(flecha derecha) ir al episodio siguiente
(flecha izquierda) ir al episodio anterior

En todas las páginas de imágenes

a abrir la ventana de añadir imagen

En todas las páginas de edición

t abrir la sección de traducción
ctrl+ s enviar formulario

En las páginas de discusión

n crear nueva discusión
w cambiar el estado de visualización
p cambiar público/privado
c cambiar cerrar/abrir
a abrir actividad
r responder a la discusión
l ir a la última respuesta
ctrl+ enter enviar tu mensaje
(flecha derecha) página siguiente
(flecha izquierda) página anterior

Configuraciones

¿Quieres puntuar o añadir este elemento a una lista?

Iniciar sesión