Supporto 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 risposte (nella pagina 1 di 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.

Non riesci a trovare un film o una serie Tv? Accedi per crearlo.

Globale

s focalizza la barra di ricerca
p apri menu profilo
esc chiudi una finestra aperta
? apri finestra scorciatoia tastiera

Su tutte le pagine di media

b torna indietro (o al precedente quando applicabile)
e vai alla pagina di modifica

Nelle pagine delle stagioni TV

(freccia destra) vai alla stagione successiva
(freccia sinistra) vai alla stagione precedente

Nelle pagine degli episodi TV

(freccia destra) vai all'episodio successivo
(freccia sinistra) vai all'episodio precedente

Su tutte le pagine di immagini

a apri finestra aggiungi immagine

Su tutte le pagine di modifica

t apri selettore traduzione
ctrl+ s invia modulo

Sulle pagine di discussione

n crea nuova discussione
w segna come visto/non visto
p cambia publico/privato
c cambia chiuso/aperto
a apri attivita
r rispondi alla discussione
l vai all'ultima risposta
ctrl+ enter invia il tuo messaggio
(freccia destra) pagina successiva
(freccia sinistra) pagina precedente

Impostazioni

Vuoi valutare o aggiungere quest'elemento a una lista?

Accedi