Open dewster opened 6 years ago
Hey @dewster,
the api wrapper currently doesn't support languages, it should be easy to add to https://github.com/aimed/foxxy/blob/master/src/Api/TMDB/TMDBConnection.ts tho. An appropriate default seems to be the preferred user language accessible using the navigator
object.
I have some spare time later and can take care of it, otherwise feel free to make a pull request :)
Regarding the colors: after I switched to material components, the colors are defined here https://github.com/aimed/foxxy/blob/1708ab33465795cb60eaadd89d265f0200ae27cf/src/index.scss#L1 The material components button uses the primary color as the text color by default.
And thanks for the interest in the project :) Quick question: are you mostly interested in the API wrapper or the project in general? I'd be happy to extract the API wrapper into an npm project :)
hi thank you for your answer! now i am familiar with the React and Typesript I've been looking for an interesting project ^^ and this awesomen^^!
Always 👍 , if you have any questions or ideas, just ask :)
Had some time and added the locale support very roughly :)
Ty ^^
100% work localization ^^
is there a way to give "language" to api url? (for example: https://api.themoviedb.org/3/movie/76341?api_key=<>&language=de) and where can I find the color code of the "menu" text in scss?
Ty for answer and sorry my bad eng.. have a nice day ^^