After the update,Chinese management interface is bad

Following tonight’s update, my Chinese administrative interface appears as follows:

However, on the homepage, everything appears normal:

Switching to Japanese and English, the interface functions correctly:

It seems that only the Simplified Chinese management interface is malfunctioning; other languages display correctly. I am unsure of the cause of this issue. How can I resolve it effectively?

2 个赞

我建议以防万一尝试重建控制台。

3 个赞

我已经完成了这个操作,但显示仍然没有改变,与原始状态完全相同。:folded_hands:

翻译于 14 小时前更新。

我看到您已安装的版本(0ea6ecd84a)已包含这些更新的翻译。

我已将我的设置更改为 zh_CN,并且在我的实例上看起来是正确的。

您是否更改了任何站点设置、安装了新插件,或者只是更新到了最新版本?

我已经将 Discourse 更新到 commit 1ab57f6910,但显示仍然不正常。我是通过管理员后端执行的更新。我是否应该直接访问服务器来执行更新命令,或者更新其他组件?

1 个赞

我刚刚将我的实例更新到了完全相同的版本,看起来是正确的。

我想知道您的资源是否被缓存了。

如果您使用的是 Google Chrome,能否请您打开检查器并转到“Sources”选项卡?

您应该能看到一个指向 zh_CN/admin.js 文件的链接。

然后,如果您将该链接复制并粘贴到另一个标签页中,能否请您检查一下是否具有仪表板翻译?

抱歉进行如此技术性的调试。您遇到的 bug 非常罕见。

3 个赞

Thank you. I followed your instructions, and when I locate the corresponding link in Simplified Chinese and enter it into my browser, I am greeted with this screen (the obscured part reveals my website’s domain). It appears that Cloudflare has blocked access.

However, upon switching to Traditional Chinese and locating the same link, entering it into the browser yields the same result as you showed.

In my personal assessment, it seems that Cloudflare’s Web Application Firewall (WAF) or similar security measures might have been triggered, resulting in the blockage. What perplexes me greatly is why only Simplified Chinese is being obstructed. I am unsure of the underlying cause.

1 个赞

我已经解决了这个问题。禁用 Cloudflare 仪表板中的活动 WAF 后,简体中文界面显示正常。但是,我不确定具体是哪个规则被触发了。我也无法确定在哪里可以找到一套适合 Discourse 的 Cloudflare WAF 规则。

2 个赞

此问题的根本原因如下:

在管理员的简体中文链接中,存在一个“aaa”的实例。

因此,我的 Cloudflare WAF(Web 应用程序防火墙)规则集包含一项阻止“aaa”的限制。

image

因此,Cloudflare 的安全措施被触发,导致前端请求在到达后端之前就被完全阻止。

虽然这看起来很奇怪,但情况就是如此::frowning_face_with_open_mouth:

4 个赞