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

字典国际化要怎么实现? #7680

Open
siblings opened this issue Jan 2, 2025 · 6 comments
Open

字典国际化要怎么实现? #7680

siblings opened this issue Jan 2, 2025 · 6 comments

Comments

@siblings
Copy link

siblings commented Jan 2, 2025

版本号:3.7.1
问题描述:第一个问题:文档有描述菜单怎么配置国际化,但是没有说字典怎么国际化?第二个问题:国际化只能手动将每一个字翻译吗?
错误截图:

1735786282235

友情提示:

  • 未按格式要求发帖、描述过于简单的,会被直接删掉;
  • 描述问题请图文并茂,方便我们理解并快速定位问题;
  • 如果使用的不是master,请说明你使用的分支;
@zhangdaiscott
Copy link
Member

目前没有后台的国际化方案,需要自己做

@siblings
Copy link
Author

siblings commented Jan 2, 2025

目前没有后台的国际化方案,需要自己做

那你们的国际化方案就只有手动翻译每一个字吗,没有自动翻译的方案吗?

@zhangdaiscott
Copy link
Member

没有

@zhangdaiscott
Copy link
Member

cr

@zhangdaiscott
Copy link
Member

zhangdaiscott commented Jan 7, 2025

给你提供一个思路
1、你可以使用AI接口实现自动化翻译(当然如果有其他国际化的接口服务调用也可以替代AI)
2、将翻译的数据缓存到redis中,这样后续不需要重复去调用AI接口

image

@zhangdaiscott
Copy link
Member

cr

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

2 participants