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

doctor 文案支持国际化 #654

Open
PeachScript opened this issue May 29, 2023 · 0 comments
Open

doctor 文案支持国际化 #654

PeachScript opened this issue May 29, 2023 · 0 comments

Comments

@PeachScript
Copy link
Member

PeachScript commented May 29, 2023

动机:相比于英文的错误提示,中文的阅读率会高一些

思路:

  1. 文案以 key 储存和调用,不同规则传入不同的变量做文案序列化(调研下社区有没有成熟的库或参考方案)
  2. 文案全放 api.appData 上,允许插件修改
  3. 支持根据终端语言自动设置 doctor 文案语言
  4. 支持插件设置文案语言,便于上层框架(例如 Bigfish 组件库)统一控制
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant