You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've just visited the homepage with Firefox and it results in non-working links since the "automatic language selection" seems not to be working properly.
All links on the index site are pointing to https://subsurface-divelog.org/None/<target> instead of e.g. https://subsurface-divelog.org/en/<target>
I've been able to reproduce by:
go to about:preferences
in the 'General' section go to 'Languages'
at the point 'Choose your preferred language for displaying pages' click on "Choose"
This problem can also be reproduced if the "preferred languages" contains only unexpected values. I've tried: "Akan", "Basque" and "Chinese". Chromium based browsers expose the same problem. They don't allow to empty the list completely, but still they can be limited to a single language that is not recognized.
The text was updated successfully, but these errors were encountered:
I can confirm that this problem exists on Firefox.
To expand on this a bit, and more of a personal bugbear when answering to support requests, in Chrome the currently used language is encoded through an URL parameter, like so https://subsurface-divelog.org/current-release/?lang=en
This isn't helpful when users are copy/pasting URLs in requests / responses, as it includes their locale setting. An improvement might be to encode the language in the HTTP header, such as through Accept-Language.
I've just visited the homepage with Firefox and it results in non-working links since the "automatic language selection" seems not to be working properly.
All links on the index site are pointing to
https://subsurface-divelog.org/None/<target>
instead of e.g.https://subsurface-divelog.org/en/<target>
I've been able to reproduce by:
If you don't want to modify your existing profile, you can follow https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
This problem can also be reproduced if the "preferred languages" contains only unexpected values. I've tried: "Akan", "Basque" and "Chinese". Chromium based browsers expose the same problem. They don't allow to empty the list completely, but still they can be limited to a single language that is not recognized.
The text was updated successfully, but these errors were encountered: