jitsi / jitsi-meet

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.
https://jitsi.org/meet
Apache License 2.0
22.16k stars 6.59k forks source link

Language not being detected in Chromium browsers #14432

Open Elaborendum opened 4 months ago

Elaborendum commented 4 months ago

Description:

Currently, meet.jit.si and other instances hosting what I presume is the same version, don't seem to be able to detect the browser language in most chromium based browsers, defaulting to english instead.

Steps to reproduce:

  1. On Google Chrome, set the browser language to (for example) Spanish
  2. Go to meet.jit.si
  3. See that the site stays in english, having to manually set it to Spanish

Repeating the process on Firefox does result in the site changing to Spanish

Expected behavior:

The site should change to the browser's language.

Actual behavior:

The site defaults to english in Chromium browsers.

Server information:

Client information:

Additional information:

It only seemed to work properly in Vivaldi

saghul commented 4 months ago

What does navigator.language return on your browser? (Open a JS console)

Elaborendum commented 4 months ago

In Firefox "es", in Chrome/Brave/Edge "es-ES" and in Vivaldi "es-419".

saghul commented 4 months ago

@damencho any ideas?

damencho commented 4 months ago

Not really, the change there recently was the detection of the 3 letters locals.

saghul commented 4 months ago

That wouldn't explain why it's detected in some browsers and not in others...

Elaborendum commented 4 months ago

Its detected in both Firefox and Vivaldi, which return "es" and "es-419" respectively. But not in Chrome/Brave/Edge, which return "es-ES" instead.

Elaborendum commented 3 months ago

It seems like it doesn't recognize "es-ES" as spanish specifically, but "es" and "es-419" are recognized as spanish.

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Elaborendum commented 1 month ago

The issue persists