@sudev.kiyada said: Original language filter not working
Hi TMDB,
When I set the 'language' parameter to 'hi' (Hindi), it also shows movies with other languages along with Hindi.
Query :
Not sure if I understand your problem, but...
If what you want is to receive in the response only the movies whose language spoken in the movie is Hindi,
then you need to add the parameter &original_language=hi .
The language parameter you used, &language=hi , determines in which language you want to receive the movie data.
That is, the overview in hi, the title of the movie in hi used in India, the poster in hi, etc...
Of course the data in hi must exist in the database.
If there is no data, it will be in English.
Thanks @ticao2 for the clarification. But even with 'original_language', the filter doesn't apply, it still shows movies with other languages along with 'hi' Hindi.
@sudev.kiyada said:
Thanks @ticao2 for the clarification.
But even with 'original_language', the filter doesn't apply, it still shows movies with other languages along with 'hi' Hindi.
Sorry, my example is wrong.
It's not &original_language=hi
As Travis Bell said correct is &with_original_language=hi
Incidentally, India is one of the countries that falls into the category of .
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)
Filters support being comma (,) or pipe (|) separated.
Comma's are treated like an AND and query while pipe's are an OR.
ticao2 🇧🇷 pt-BR님의 댓글
1월 23, 2022 at 6:11 오전
Not sure if I understand your problem, but...
If what you want is to receive in the response only the movies whose language spoken in the movie is Hindi,
then you need to add the parameter &original_language=hi .
The language parameter you used, &language=hi , determines in which language you want to receive the movie data.
That is, the overview in hi, the title of the movie in hi used in India, the poster in hi, etc...
Of course the data in hi must exist in the database.
If there is no data, it will be in English.
sudev.kiyada님의 댓글
1월 23, 2022 at 9:06 오전
Thanks @ticao2 for the clarification. But even with 'original_language', the filter doesn't apply, it still shows movies with other languages along with 'hi' Hindi.
Travis Bell님의 댓글
1월 23, 2022 at 2:44 오후
The parameter is
with_original_language
.Please make sure to read the documentation for all of the official filters.
sudev.kiyada님의 댓글
1월 23, 2022 at 5:30 오후
Many thanks for the clarification !
ticao2 🇧🇷 pt-BR님의 댓글
1월 23, 2022 at 5:31 오후
Sorry, my example is wrong.
It's not &original_language=hi
As Travis Bell said correct is &with_original_language=hi
Incidentally, India is one of the countries that falls into the category of .
A Country with Multiple Languages
Filters support being comma (,) or pipe (|) separated.
Comma's are treated like an AND and query while pipe's are an OR.