#47 Set tMDb query language

Closed
opened 6 years ago by mihaum · 4 comments
mihaum commented 6 years ago

Hi there,

it would be nice to be able to set language in which the API data should be fetched.

Currently the language is (probably) being set based upon phone system language.

I really do not know titles in my native language, and this is how they are presented in the search results (even if the search query has been made in english).

Hi there, it would be nice to be able to set language in which the API data should be fetched. Currently the language is (probably) being set based upon phone system language. I really do not know titles in my native language, and this is how they are presented in the search results (even if the search query has been made in english).
nvb commented 6 years ago
Owner

Edited the title as it contained the feature tag which is now added as a label.

Edited the title as it contained the feature tag which is now added as a label.
dimqua commented 6 years ago

TMDb.org website uses default and fallback languages. Probably the same approach can be useful for the app's data queries too.

TMDb.org website uses default and fallback languages. Probably the same approach can be useful for the app's data queries too.
mihaum commented 6 years ago
Poster

@dimqua, just had the sam thought.

I guess in 90% of cases people won't use other languages than english and phones default (since noone has created similar issue).

Also, I haven't read the API documentation, so I don't know if it's possible to fetch all available languages, and maintaining static language array is not a great idea.

@dimqua, just had the sam thought. I guess in 90% of cases people won't use other languages than english and phones default (since noone has created similar issue). Also, I haven't read the API documentation, so I don't know if it's possible to fetch all available languages, and maintaining static language array is not a great idea.
nvb commented 6 years ago
Owner

Added in commit ff1c2002d5

Added in commit ff1c2002d558a1f2a69df205ae87ae84ceae61c8
Sign in to join this conversation.
No Milestone
No assignee
3 Participants
Loading...
Cancel
Save
There is no content yet.