Until yesterday I was using the API language as pt-BR with no problems. Suddenly, today, it became pt-PT. Here, you can see there's a discrepancy between poster and movie name (the poster is still in pt-BR): https://ibb.co/ypw84Gb Here you can see there's even movies in hindi when using pt-BR: https://ibb.co/SPX5c1f
找不到电影或节目?登录并创建它吧。
superboy97 的回复
于 2023 年 10 月 04 日 9:54上午
For images, there are no separation between pt-PT and pt-BR. All Portuguese images are in the same category.
vitorary90 的回复
于 2023 年 10 月 04 日 10:21上午
Ok, but what about the movie names? Until yesterday they were pt-br for me (which is what i want), and today they were pt-pt. There's even hindi names. Something must have broken.
superboy97 的回复
于 2023 年 10 月 04 日 10:41上午
To get help, you need to give us the exact query you are using to get them.
vitorary90 的回复
于 2023 年 10 月 04 日 3:08下午
The app that I'm building is written using React. This is a simplified version of App.jsx, it's made just to expose inside of the console the data that I'm fetching from the API. Where there's ${apiKey} in the code, you can replace for api_key=YOURAPIKEY
Here is a screenshot of the console, showing that the name for the movie The Godfather is in pt-PT, even though I'm using pt-BR: https://ibb.co/Mk4tFNQ
robbie3999 的回复
于 2023 年 10 月 04 日 6:40下午
Here's what I get when I run the queries:
https://api.themoviedb.org/3/movie/top_rated?language=pt-BR
"id": 238, "original_language": "en", "original_title": "The Godfather", "overview": "Em 1945, Don Corleone é o chefe de uma mafiosa família italiana de Nova York. Ele costuma apadrinhar várias pessoas, realizando importantes favores para elas, em troca de favores futuros. Com a chegada das drogas, as famílias começam uma disputa pelo promissor mercado. Quando Corleone se recusa a facilitar a entrada dos narcóticos na cidade, não oferecendo ajuda política e policial, sua família começa a sofrer atentados para que mudem de posição. É nessa complicada época que Michael, um herói de guerra nunca envolvido nos negócios da família, vê a necessidade de proteger o seu pai e tudo o que ele construiu ao longo dos anos.", "popularity": 152.285, "poster_path": "/oJagOzBu9Rdd9BrciseCm3U3MCU.jpg", "release_date": "1972-03-14", "title": "O Poderoso Chefão"
https://api.themoviedb.org/3/movie/top_rated?language=pt-PT
"id": 238, "original_language": "en", "original_title": "The Godfather", "overview": "Baseado no best-seller de Mário Puzo, o filme acompanha o percurso de Don Vito Corleone, o patriarca de uma das mais notáveis e importantes famílias da máfia italiana de Nova Iorque.", "popularity": 152.285, "poster_path": "/oJagOzBu9Rdd9BrciseCm3U3MCU.jpg", "release_date": "1972-03-14", "title": "O Padrinho"
Seems to be working now for me.
vitorary90 的回复
于 2023 年 10 月 04 日 7:32下午
I can confirm it's back to normal. Strange.