Skip to content
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] 切换语言后,必须重新刷新页面 #2724

Open
3 of 17 tasks
dongjb opened this issue May 30, 2024 · 3 comments
Open
3 of 17 tasks

[Bug] 切换语言后,必须重新刷新页面 #2724

dongjb opened this issue May 30, 2024 · 3 comments
Labels
🐛 Bug Something isn't working | 缺陷 Inactive No response in 30 days | 超过 30 天未活跃

Comments

@dongjb
Copy link

dongjb commented May 30, 2024

📦 部署环境

  • Official
  • Official Preview
  • Vercel / Zeabur / Sealos
  • Docker
  • Other

📌 软件版本

0.162.11

💻 系统环境

  • Windows
  • macOS
  • Ubuntu
  • Other Linux
  • iOS
  • Android
  • Other

🌐 浏览器

  • Chrome
  • Edge
  • Safari
  • Firefox
  • Other

🐛 问题描述

通用设置->主题设置-语言 修改后页面大部分文本没有变化,必须重新刷新页面才可以

CleanShot.2024-05-30.at.10.12.03.mp4

📷 复现步骤

通用设置->主题设置-语言 修改后页面大部分文本没有变化,必须重新刷新页面才可以

🚦 期望结果

希望修改后能直接发生改变,不需要重新刷新页面

📝 补充信息

No response

@dongjb dongjb added the 🐛 Bug Something isn't working | 缺陷 label May 30, 2024
@lobehubbot
Copy link
Member

👀 @dongjb

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@arvinxx
Copy link
Contributor

arvinxx commented May 30, 2024

这个问题是 #2691 引入的,目前不好解决。

目前如果解决了这个问题,可能会导致以下问题又出来:

从使用上来说,切换语言不是一个高频的诉求,因此相较一下,选择了优化上述的性能问题,现在还是先刷新下页面吧,未来等基础依赖升级以后再解决。

refs: i18next/react-i18next#1756

@lobehubbot
Copy link
Member

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


This problem was introduced by #2691 and is currently difficult to solve.

Currently, if this problem is solved, the following problems may arise again:

In terms of usage, switching languages ​​is not a high-frequency request, so for comparison, I chose to optimize the above-mentioned performance issues. It is better to refresh the page now and solve it in the future after the basic dependencies are upgraded.

refs: i18next/react-i18next#1756

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 Inactive No response in 30 days | 超过 30 天未活跃
Projects
Status: Roadmap - Chat 1.x
Development

No branches or pull requests

3 participants