-
Notifications
You must be signed in to change notification settings - Fork 340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] - Having anything else than en-US first in Accepted-Language headers kill the client #1720
Comments
Unfortunately there is some different bug at work here, those steps are not reproducing the issue for me: Overall the bug seems to only affect a limited amount of users under specific conditions, if anybody can figure out what those conditions are then that would be awesome. I am planning to investigate this further over the weekend. |
Copying a post from a thread on lemm.ee, I have not verified if these steps can reproduce the issue for me or not: I’ve tried to reproduce the steps aswell and it’s kinda tricky because some of the combinations that didn’t work are now just working and I don’t know why. A way to reproduce it on my end that seems to be pretty reliable so far: Lemmy language set to browser default and browser set to english, everything works. (I can also set browser default, english, german, doesn’t matter). Now switching back to browser default has it also working as long as I stay on the site. I can refresh the feed by clicking on the lemmy logo, view posts, go back via the lemmy logo etc. The shorter way would be to have Lemmy set to browser default while having the browser set to english end then switch the browser to german. I have this problem on two different systems. |
Same issue here. For me it's working fine on Windows with Edge. But on Android with Edge as browser it's broken like on the first comment described. |
Requirements
Summary
Seems that the bug returns.
Now, if you setup your browser as accepting, for example, french first so that it sends the header
Accepted-Language: fr-FR,en-US;q=0.7,en;q=0.3
, nothing displays in the UI.The client does not look for the right path to resolve the reference to the local js file.
It should have at least a gracious fallback mechanism since this is not the first time it breaks.
Steps to Reproduce
Then
2. Load a lemmy instance
3. Look:
Accepted-Language: fr-FR,en-US;q=0.7,en;q=0.3
,Technical Details
Seems that the client looks for the translation file in the wrong directory again or the file is not named as expected.
Lemmy Instance Version
0.18.1-rc5
Lemmy Instance URL
https://jlai.lu
The text was updated successfully, but these errors were encountered: