„The Movie Database“ palaikymas

Hi,

Using the search/movie API I have the impression that the language parameter is ignored, as the resulting 'title' fields are always returned in their original language, not the asked one. Actually it seems that 'title' and 'original_title' are always equals but I might be wrong.

For example let's search for the movie "Lone Ranger (2013)" https://api.themoviedb.org/3/search/movie?language=FR&api_key=xxx&query=Lone%20Ranger The call returns "original_title":"The Lone Ranger" / "title":"The Lone Ranger", while with the french parameter it should return "original_title":"The Lone Ranger" / "title":"Lone Ranger, Naissance d'un héros"

Am I doing something wrong?

Note that the /movie/id API is well taking into account the language parameter.

Many thanks.

2 atsakė (on page 1 iš 1)

Jump to last post

Found the issue by myself ;-) The language code is case sensitive on this API apparently, as using 'language=fr' instead of 'language=FR' works perfectly. Cheers.

Hi Pierre,

Good catch. It's not supposed to be but the search & discover API's were recently re-written and it looks like this is a regression. Until it's fixed, using lowercase is no doubt the easiest thing to do.

Cheers.

Negalite rasti filmo ar TV laidos? Prisijunkite, kad sukurtumėte.

Bendras

s susitelkti į paieškos juostą
p profilio meniu
esc uždarykite atidarytą langą
? spartieji klavišai

Medijų puslapiuose

b grįžkite atgal (arba tėvams leidus)
e į redagavimo puslapį

TV sezono puslapiuose

(dešinė rodyklė) sekantis sezonas
(kairė rodyklė) ankstesnis sezonas

TV epizodo puslapiuose

(dešinė rodyklė) sekantis epizodas
(kairė rodyklė) ankstesnis epizodas

Visuose atvaizdžio puslapiuose

a atverti atvaizdžio pridėjimo langą

Visuose redagavimo puslapiuose

t vertimo parinktys
ctrl+ s pateikti formą

Diskusijų puslapiuose

n sukurti naują diskusiją
w perjungti peržiūros būseną
p perjungti viešasis / privatus
c perjungti uždaryti / atidaryti
a peržiūrėti aktyvumą
r atsakyti į pokalbį
l į paskutinį atsakymą
ctrl+ enter pateikti pranešimą
(dešinė rodyklė) sekantis puslapis
(kairė rodyklė) ankstesnis puslapis

Nustatymai

Norite įvertinti ar įtraukti šį elementą į sąrašą?

Prisijungti