Skip to content

[Bug] 本地化问题 #6543

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

Closed
curtisrecords opened this issue Feb 26, 2025 · 3 comments · Fixed by #6876
Closed

[Bug] 本地化问题 #6543

curtisrecords opened this issue Feb 26, 2025 · 3 comments · Fixed by #6876
Labels
🐛 Bug Something isn't working | 缺陷 tts TTS/STT

Comments

@curtisrecords
Copy link
Contributor

📦 部署环境

Docker

📦 部署模式

服务端模式(lobe-chat-database 镜像)

📌 软件版本

latest

💻 系统环境

Windows

🌐 浏览器

Chrome

🐛 问题描述

"sttService": {
"desc": "其中 broswer 为浏览器原生的语音识别服务",
"title": "语音识别服务"
},
"sttService": {
"desc": "其中 broswer 為瀏覽器原生的語音識別服務",
"title": "語音識別服務"
},
"sttService": {
"desc": "در این میان، broswer به سرویس تشخیص گفتار بومی مرورگر اشاره دارد",
"title": "سرویس تشخیص گفتار"
},

单词拼写错误啦~
// If the provider already disable broswer request in model config, force on Server.
if (isProviderDisableBroswerRequest(provider)) return false;

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

@curtisrecords curtisrecords added the 🐛 Bug Something isn't working | 缺陷 label Feb 26, 2025
@github-project-automation github-project-automation bot moved this to Roadmap - Chat 1.x in Lobe Chat Routine Feb 26, 2025
@lobehubbot
Copy link
Member

👀 @curtisrecords

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。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

@dosubot dosubot bot added the tts TTS/STT label Feb 26, 2025
Copy link

dosubot bot commented Feb 26, 2025

It seems like you've encountered a localization issue with a spelling error in the word "broswer" which should be "browser". This typo appears in both the localization strings for the sttService configuration and in the code comment related to the isProviderDisableBroswerRequest function.

To address this, you would need to correct the spelling in both the localization files and the codebase. For the localization files, ensure that the translations are updated with the correct spelling. In the code, the function name isProviderDisableBroswerRequest and any related comments should be corrected to isProviderDisableBrowserRequest.

If you need to update translations, you can refer to the localization files in the src/locales and locales directories, and make sure to update the relevant JSON files for each language [1][2].

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@arvinxx
Copy link
Contributor

arvinxx commented Feb 27, 2025

欢迎提交修正pr

@lobehubbot
Copy link
Member

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


Welcome to submit correction pr

@curtisrecords
Copy link
Contributor Author

#6876

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Something isn't working | 缺陷 tts TTS/STT
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants