-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Missing translation: en| - Unable to set language on Firefox #9422
Comments
Looks like we might be eagerly deleting files which causes 404s later on. Might need a different cache strategy |
@turt2live - eagerly deleting when? When we redeploy? |
yes, it seems like we're blowing away the old build when we deploy a new build, which means that people who are unlucky will have missed the bundle. |
We could solve this by adding a service worker that adds the language files (and others) to the cache and falls back to it on a 404 |
This is happening for me and other people using the Riot that I host since I upgraded. The thing is, reload doesn't help. The error message is the same. Is there a header I can set with nginx to kill the caching? |
I keep being bitten by it several times per week, so I'd be happy if we could fix this 👍 Relevant console message seems to have changed:
Could we possibly init an auto-reload when we detect the issue? |
Clear your browser cache. |
Thanks, it worked. |
I'm seeing reports of this every few days atm, including from VIPs. Can Element not load the resource via JS with a retry schedule if it fails? |
Unfortunately, most end users know nothing about the cache, so we need a better solution. |
Yes, and this issue came back a few times already since my last answer. I thought it would be ok just one time, but no. |
I'm getting this almost every time I load Element Web now. For what it's worth, it goes away with a simple refresh of the page, but it's still pretty annoying. |
Just to add a counterpoint, I haven't seen this in many months, at least on develop. I wonder if it's something related to cache headers...? |
If that helps, I should add that I'm always using develop.element.io with Firefox on Linux. |
Okay, good to know. Unfortunately, rageshakes don't help too much for this issue at the moment, as all they show is:
Let's at least record the actual error to the logs... For the moment though, the next time someone does see this on develop, please capture the actual missing file from the error, as I'd like to trace down why it's been removed. |
I got this again this morning, rageshake ^ |
Got this again today. |
#21605 has been merged |
Just seen it again today, with |
rageshake please |
Sorry, forgot to mention that rageshake immediately above that comment is mine. |
Yeah, this is still present. I got it and pressed "send feedback". Hope that's equivalent to rage shaking. I tried rage shaking my laptop, but nothing happened... |
Unfortunately feedback doesn't include logs for privacy reasons, please send logs from Settings > Help & About |
Element |
I saw it again this morning on develop, I've rageshaken ^ |
It's happened to me again this morning, except this time it seemed to prevent Element to load (I got an infinite spinner until I reloaded the tab), so I couldn't rageshake. |
I got the infinite spinner this morning. Console:
Address bar:
The screen is blank except for "missing translation: en|Logout" at the bottom, and a spinner in the middle. |
I got it again this morning. I managed to rageshake through the console ^ |
I got it again today (not the freeze), rageshake ^, URL: https://develop.element.io/?updated=850a250cea91-react-1c70696b1020-js-d190cdc307f1#/room/!HtSAtjJmFcbeysRBii:envs.net |
Also had one just now (not the freeze), rageshaken ^ |
Again ^ |
It's unclear what this was blocked on, but it's certainly worthy of picking up. I believe at this point we know what causes it, we just need to figure out how to fix it. |
Is this still happening? I don't remember seeing it recently. |
I haven't seen it for ages. Closing. If it re-occurs please re-open. (Thanks Rich for pointing this out.) |
Recently I've seen lots of people reporting that they are seeing missing strings for languages that are properly translated. I've also gotten bit by this a few times. The console error that looks relavent is
I got it on /develop, other people on /app have reported the same issue.
The text was updated successfully, but these errors were encountered: