Element-web: Missing translation: en| - Unable to set language

Created on 10 Apr 2019  路  6Comments  路  Source: vector-im/element-web

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

Unable to set language 
Object { err: null, response: XMLHttpRequest }
rageshake.js:61:8

Screen Shot 2019-04-10 at 10 34 12 AM

I got it on /develop, other people on /app have reported the same issue.

bug i18n p1 question uux

All 6 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?

Was this page helpful?
0 / 5 - 0 ratings