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

dapp中如何获取当前用户的语音实现国际化? #45

Open
artiely opened this issue Jul 8, 2024 · 4 comments
Open

dapp中如何获取当前用户的语音实现国际化? #45

artiely opened this issue Jul 8, 2024 · 4 comments

Comments

@artiely
Copy link

artiely commented Jul 8, 2024

No description provided.

@chendatony31
Copy link
Member

目前没有相关的接口 建议直接用 navigator.language

@artiely
Copy link
Author

artiely commented Jul 8, 2024

目前没有相关的接口 建议直接用 navigator.language

多谢回答,我已经试过了,不是很准确。当我切换到英文的时候他还是返回的zh-CN

@artiely
Copy link
Author

artiely commented Jul 8, 2024

当然我尝试了im钱包他的navigator.language 返回是准确的

@chendatony31
Copy link
Member

嗯 因为目前确实没有处理这个,后续我们会把 这个支持上

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