-
Change
js.browser_updatein Customise > Text. -
Open Discourse in IE10
-
Default message is shown instead of customised one
AFAIK JS text customizations run in Javascript. Since our mode for old browsers is plain HTML without Javascript, anything JS won’t run in there. This behavior is expected.
It’s set here. https://github.com/discourse/discourse/blob/master/vendor/assets/javascripts/browser-update.js.erb#L29
So it should be applicable. 
Oh, that won’t work anymore as we are removing all globals, with I18n being the one that was removed last week.
It may work after a rebuild @zcuric.
Not working unfortunately. We did a release today and rebuild the app, same thing.
I have the same problem. I thought when I first changed js.browser_update it did display on an old browser (but I’m not 100% sure now), but today I see that it shows the original text. Is there any way round this… maybe treating this particular message differently, as mostly when this message is displayed Javascript won’t be on? Maybe a short plugin?
您之所以会在一个浏览器上看到此功能,而在另一个浏览器上看不到,可能是因为一些非常旧的浏览器不支持客户端翻译,而另一些则支持。
我们首先尝试运行翻译,如果失败,则回退到硬编码的英文默认消息实例:
不幸的是,我们对此也无能为力。希望人们最终会淘汰那些旧浏览器。