#47 Set tMDb query language

已关闭
mihaum6 年之前创建 · 4 条评论
mihaum 评论于 6 年之前

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 评论于 6 年之前
所有者

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 评论于 6 年之前

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 评论于 6 年之前
发布者

@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 评论于 6 年之前
所有者

Added in commit ff1c2002d5

Added in commit ff1c2002d558a1f2a69df205ae87ae84ceae61c8
nvb6 年之前 关闭
登录 并参与到对话中。
未选择里程碑
未指派成员
3 名参与者
正在加载...
取消
保存
这个人很懒,什么都没留下。