Hello, I think I found a bug in the movies and generes requests. I need to info in Catalan, so I'm using the language code 'ca-ES' (I also tried with the ISO code) and there are some variables in the API response that are missing.
I hope someone can fix this issue. If the genre names issue is because there is no translation I can help. :)
Thanks!
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by ArnauBlanch
on March 6, 2018 at 6:12 AM
Hello, Can somebody take a look at this, please? :)
I would like to use TheMovieDB API in a mobile app to enrich a movie list but as it has to be in Catalan, this issue is a big drawback for using it. :(
Thank you so much!
Reply by Marr π³π±
on March 6, 2018 at 6:52 PM
The genres probably still need to get translated. You can search for the topic or maybe Travis will see it. Please provide a list with the translations for both the movie and tv genres. We are not multilangual and do not trust Google translate haha!
For the runtime, the data probably isnβt entered for the Catalan translation to begin with.. you should try to make it fallback to english or original language or something.
Reply by ticao2 π§π· pt-BR
on March 7, 2018 at 7:29 AM
Look here
https://www.themoviedb.org/talk/51b5fe1a760ee359996a0e62
Reply by Travis Bell
on March 8, 2018 at 3:10 AM
Genre translations can be submitted here: https://www.themoviedb.org/talk/508aa4f619c2951bd00002a8
Re: runtimes, @alltimemarr is correct, there's currently no fallback to English (or a translation that has the value.) This is a planned feature for the future.
Reply by ArnauBlanch
on March 8, 2018 at 5:48 AM
Thanks for the replies!
I've posted the genre translations in the link. :)
Reply by Marr π³π±
on March 8, 2018 at 2:25 PM
But is it maybe possible with some coding on the client side? if X = null then Y, else just do whatever was planned? idk.. not familiar with anything API related.
Reply by ArnauBlanch
on March 8, 2018 at 7:38 PM
Don't worry. I'm going to cache the genre translations in Catalan and then do every other request in English. :)