Suporte do 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 respostas (na 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.

Não consegue encontrar um certo Filme ou Série? Inicie Sessão e adicione-o.

Geral

s focus the search bar
p abrir menu do perfil
esc close an open window
? open keyboard shortcut window

Em páginas de Média

b go back (or to parent when applicable)
e ir para a página de edição

Em Páginas de Temporadas de Séries

(seta para a direita) ir para a próxima temporada
(seta para a esquerda) ir para a temporada anterior

Em Páginas de Episódios de Séries

(seta para a direita) ir para o próximo episódio
(seta para a esquerda) ir para o episódio anterior

Em Todas as Páginas de Imagens

a abrir janela para adicionar imagem

Em Todas as Páginas de Edição

t open translation selector
ctrl+ s submit form

Em Páginas de Discussão

n criar uma nova discussão
w toggle watching status
p toggle public/private
c toggle close/open
a abrir actividade
r reply to discussion
l ir para a última resposta
ctrl+ enter submit your message
(seta para a direita) página seguinte
(seta para a esquerda) página anterior

Definições

Deseja classificar ou adicionar este item a uma lista?

Iniciar Sessão

Ainda não é um membro?

Crie uma Conta e Adere a Comunidade