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
Fılmdi nemese kórsetimdi taba almadyńyz ba? Ony jasaý úshin kirińiz.
Want to rate or add this item to a list?
Not a member?
superboy97 jaýaby
2023 Qazan 4 kúni 9:54 AM ýaqytynda
For images, there are no separation between pt-PT and pt-BR. All Portuguese images are in the same category.
vitorary90 jaýaby
2023 Qazan 4 kúni 10:21 AM ýaqytynda
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 jaýaby
2023 Qazan 4 kúni 10:41 AM ýaqytynda
To get help, you need to give us the exact query you are using to get them.
vitorary90 jaýaby
2023 Qazan 4 kúni 3:08 PM ýaqytynda
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 jaýaby
2023 Qazan 4 kúni 6:40 PM ýaqytynda
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 jaýaby
2023 Qazan 4 kúni 7:32 PM ýaqytynda
I can confirm it's back to normal. Strange.