bigbluebutton / greenlight

A really simple end-user interface for your BigBlueButton server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Browser language setting not taken into account

FrankNagel opened this issue · comments

It seems to me, that at the moment the browser language setting is never taken into account. According to this line

language: currentUser?.language || currentUser?.default_locale || window.navigator.language || window.navigator.userLanguage,

the default language takes precedence over the language setting in the browser. In my eyes the default language should only be used if no matching translation is available.

The default language is an optional env var. If you wan't the browser language to take precendence, just leave the DEFAULT_LOCALE env var commented out