The Movie Database atbalsts

Hi,

Firstly, a big thank you for all your effort in building up the database and the API.

My query: I am trying to pull out/extract a list of all movies released in a specific year (2014) for a particular language (Hindi - )

I used the following query:

http://api.themoviedb.org/3/discover/movie?api_key=&primary_release_year=2014&language=hi

But unfortunately it seems to ignore the language parameter. What am I doing wrong?

Thanks in advance. :)

Cheers -j

15 replies (on page 1 of 1)

Jump to last post

It’s not ignoring the language param but rather it’s likely that not many movies have been translated to Hindi. Hindi has mediocre to low support in our db. I’ve noticed it’s been improving lately but the best you can do is browse the website and help out by adding missing translations.

Cheers.

Hi Travis,

Actually it is returning the wrong resultset but that could because I may be using the wrong parameter?

My query:

http://api.themoviedb.org/3/discover/movie?api_key=###&primary_release_year=2014&language=hi

Returns:

{"adult":false,"backdrop_path":null,"id":279185,"original_title":"Ai no Uzu","release_date":"2014-03-01","poster_path":"/gz5YI9KwNZdlYzFNeROVJCHMOgl.jpg","popularity":0.3458315339069,"title":"Ai no Uzu","vote_average":10.0,"vote_count":1} ... ... ...

But none of the results are for Hindi (hi) at least for the first page...

Your thoughts?

Thanks for all the help.

Cheers -j

Looks like just not that much is translated into Hindi.

You can browse the website to see what has and hasn’t been and unfortunately, I’m just not seeing very much that has.

https://www.themoviedb.org/movie?language=hi

Cheers.

Hi Travis,

Firstly thanks for the help and the quick responses.

I had a look at your link which is:

https://www.themoviedb.org/movie?language=hi

And that link returns no results for Hindi inspite of themoviedb.org having quite a large collection. For example:

https://www.themoviedb.org/movie/44425-dabangg

Notice the language is also correctly setup as Language: hi under the Movie Facts section (left).

Is it a case of wrong internal column mapping for:

URL https://www.themoviedb.org/movie?language=hi and also in the API?

Thanks heaps for looking into this.

Cheers -j

Is it a case of wrong internal column mapping for

No, this is what I am saying. While there is probably some HI translations available, it doesn't seem to be that common.

44425 doesn't have a Hindi translation either from the looks of it. You can see in the drop down that it only has a translations created in English, French, Russian and Chinese.

What you're seeing here: http://note.io/1mBw0qB is an English (en) translation.

So then what is the "Language:hi" column under the [Movie Facts] section (Below Revenue:$0 and above Webpage:Link column) ???

Ah, I see where this is confusing you.

You're looking at the spoken language field and that has nothing to do with translations. Translations are the listed in drop down on the left column of every movie page or underneath the title on edit pages.

If you head into your account and change your "Preferred Language" to Hindi and start browsing TMDb, you'll see that not very much has been translated.

Hey Travis,

Glad that we are on the same page now.

So now how do I filter out all the movies in 2014 with the spoken language as Hindi (hi) using the API?

http://api.themoviedb.org/3/discover/movie?api_key=###&primary_release_year=2014 (what more do I need to add here?)

Thanks heaps.

Unfortunately, as it stands right now there is currently no way to search for or filter any of our queries based on spoken languages. I've created a ticket to look at this in the future here.

Oh! No worries. Let me know if I can be of help. Am good with SQL and PHP is not that bad either.

Use this query - add year paramter. It works for me

https://api.themoviedb.org/3/discover/movie?api_key=<KEY>&certification_country=IN&certification.lte=A&language=hi

for someone who stumble upon this thread, required parameter is with_original_language eg:

https://api.themoviedb.org/3/movie/popular?api_key=api_key&with_original_language=hi

Filtering by the original language is possible. Use &with_original_language=
Example

India   
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&sort_by=popularity.desc&page=1&primary_release_year=2020&with_original_language=hi|kn|ml|ta|te  
Philippines  
https://api.themoviedb.org/3/discover/movie?api_key=THE_KEY&language=en-US&sort_by=popularity.desc&page=1&primary_release_year=2020&with_original_language=tl  

But beware of duplicity:
A Language with Multiple Countries

en  English 6 (AU+CA+GB+IE+NZ+US)
fr  French 2 (CA+FR)
de  German 3 (AT+CH+DE)
ms  Malay 2 (MY+SG)
zh  Mandarin 3 (CN+HK+TW)
pt  Portuguese 2 (BR+PT)
es  Spanish 2 (ES+MX)

A Country with Multiple Languages

CA  Canada 2 (en+fr)
CN  China 2 (cn+zh)
IN  India 5 (hi+kn+ml+ta+te)
NO  Norway 2 (nb+no)
ES  Spain 4 (ca+es+eu+gl)

Using with_origin_country is another potentially useful filter. This was just added yesterday, and will be reflected in the docs shortly.

https://api.themoviedb.org/3/discover/movie?api_key=###&with_origin_country=IN

Vai nevarat atrast filmu vai TV pārraidi? Piesakieties, lai to izveidotu.

Vispārējs

s fokusējiet meklēšanas joslu
p atveriet profila izvēlni
esc aizveriet atvērtu logu
? atveriet īsinājumtaustiņu logu

Mediju lapās

b atgriezties (vai pie vecākiem, ja nepieciešams)
e dodieties uz rediģēšanas lapu

TV sezonas lappusēs

(labā bultiņa) pāriet uz nākamo sezonu
(kreisā bultiņa) pāriet uz iepriekšējo sezonu

TV epizodes lappusēs

(labā bultiņa) pāriet uz nākamo sēriju
(kreisā bultiņa) pāriet uz iepriekšējo sēriju

Visās attēlu lapās

a atveriet attēla pievienošanas logu

Visās rediģēšanas lapās

t atvērt tulkošanas atlasītāju
ctrl+ s iesniegt formu

Diskusiju lapās

n radīt jaunu diskusiju
w pārslēgt skatīšanās statusu
p pārslēgt publisko/privāto
c pārslēgt aizvērt/atvērt
a atklāta darbība
r atbilde uz diskusiju
l dodieties uz pēdējo atbildi
ctrl+ enter iesniedziet savu ziņojumu
(labā bultiņa) nākamajā lapā
(kreisā bultiņa) iepriekšējā lapa

Iestatījumi

Vai vēlaties novērtēt vai uzskaitīt šo vienumu?

Pieslēgties