owncloud / web

:dragon_face: Next generation frontend for ownCloud Infinite Scale
https://owncloud.dev/clients/web/
GNU Affero General Public License v3.0
429 stars 161 forks source link

Translations: Default language differs per browser #7549

Closed hurradieweltgehtunter closed 1 year ago

hurradieweltgehtunter commented 2 years ago

Steps to reproduce

  1. Load login screen

Expected behaviour

Login screen is displayed in the same laguage in every browser (as long as no browser specific language is set)

Actual behaviour

Firefox

grafik

Browser language setting: grafik No alternate nor any "prefferd language for websites" is set

Safari

grafik

Chrome

grafik

Language system setting: grafik

Note: It affects not only the login screen but the entire frontend. Login screen is only used in this issue as an example.

Environment general

https://ocis.ocis-wopi.latest.owncloud.works/ MacOS 12.4

hurradieweltgehtunter commented 2 years ago

Check this: After logging in with Safari or Chrome it still appears in german although the language is set to "english"

grafik

With Firefox it stays in english - which is correct.

kulmann commented 2 years ago

The settings UI doesn't behave correctly. If no language has been set before it still shows English as default in the UI. In reality ownCloud Web still uses your browser language as fallback, although the settings UI suggests otherwise.

hurradieweltgehtunter commented 2 years ago

The settings UI doesn't behave correctly. If no language has been set before it still shows English as default in the UI. In reality ownCloud Web still uses your browser language as fallback, although the settings UI suggests otherwise.

Ok but loggin in with the same user presents the frontend in english in Firefox and german in Safari. Only after selecting a language in the settings everything is displayed correctly after login.

hurradieweltgehtunter commented 1 year ago

Not a web but a settings problem, see https://github.com/owncloud/KoKo22/issues/90#issuecomment-1274522750 Thx anyways.