Is it possible to get the prefered language for a user? In my user object there is no language. Is there a way to get it?
The only language in the api is the language of the broadcast. Not their preferred. Nor country is provided.
Generally speaking websites will use browser technology/detection to determine the language of a user for translation display purposes.
So if your intent is to show your website in a relevant language after login you would use that
A quick google throws this back
If itβs an extension the language is passed as a query string parameter as well
Thx. I already get the browser language and have a language selector on my page. I also wanted to get the language the user selected at twitch. For example an english speaker can also stream in another language. But I dont really need this. It was just an idea, if it would be easy. But I will forget the idea thx
The broadcasters language for the stream != the users language/country
The language
is included in the streams and get channels response
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.