Open Maniues opened 1 month ago
Have you tried in incognito?
Yes, I did
I checked, and it turned out that the problem occurs in incognito mode, but not necessarily in other modes.
I still find this a problem because in incognito mode the language value is pl-PL
and our deployment is meant to use Polish language in this case.
What are the values of navigator.languages
, navigator.userLanguage
and navigator.language
in the browsers it work and in the browsers it does not work?
For browser with incorrect language:
navigator.languages
: ['pl-PL']
navigator.userLanguage
: undefined
navigator.language
: 'pl-PL'
For browser with correct language:
navigator.languages
: ['pl-PL', 'pl', 'en-US', 'en']
navigator.userLanguage
: undefined
navigator.language
: 'pl-PL'
@damencho IIRC there was a similar report for Spanish, being es-ES
.
Yeah. And a PR will look at it when I find some time
Excellent, thanks!
@Maniues How did you change the language in chrome? If I go and change it via settings :
I get:
navigator.language: 'pl'
I wonder how do you get the pl-PL
setting?
I don't change my language, since I'm Polish. Please note that it only occurs in incognito mode.
I'll check this and let you know what settings I'm chrome return pl-PL l.
I don't have any specific settings. This parameter may be controlled by Chrome 's default installer and the user's system location.
Does it happen in normal mode? What value do you get for the language in that case?
For browser with incorrect language:
navigator.languages
:['pl-PL']
navigator.userLanguage
:undefined
navigator.language
:'pl-PL'
For browser with correct language:
navigator.languages
:['pl-PL', 'pl', 'en-US', 'en']
navigator.userLanguage
:undefined
navigator.language
:'pl-PL'
These are all values I got. Browser with correct language = normal mode, incorrect = incognito
@damencho @saghul is there any update about this case available?
What happened?
Jitsi Meet does not detect Polish language encoded in
navigator.language
aspl-PL
and sets English language.On Firefox or MS Edge, Polish is encoded as
pl
and Jitsi Meet's language detection properly works with these browsers.Platform
Browser / app / sdk version
Chrome 124.0.6367.208 / 125.0.6422.61 (tested on both)
Relevant log output
No response
Reproducibility
More details?
Tested on meet.jit.si and on internal deployment.