WebApp设置语言为简体中文时,问完一个问题并回复后,“新的对话”会变成“New conversation“ #78

Closed
opened 2026-02-16 11:19:41 -05:00 by yindo · 8 comments
Owner

Originally created by @xiaobai1990zhan on GitHub (Feb 24, 2025).

Originally created by @xiaobai1990zhan on GitHub (Feb 24, 2025).
yindo added the bug label 2026-02-16 11:19:41 -05:00
yindo closed this issue 2026-02-16 11:19:41 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Feb 24, 2025):

在 WebApp 中设置语言为简体中文时,"新的对话" 显示为 "New conversation" 的问题可能与翻译文件或语言设置有关。虽然我没有找到具体的代码位置来管理 UI 文本翻译,但可以检查以下几点:

  1. 翻译文件:确保简体中文的翻译文件中包含 "新的对话" 的正确翻译。
  2. 默认语言设置:检查 config/index.ts 文件中的 default_language 设置,确保其设置为 'zh-Hans'[1]
  3. 语言切换逻辑:确认应用程序在切换语言时正确加载了相应的翻译文件。

如果这些检查没有解决问题,可能需要进一步查看代码中如何处理语言切换和翻译加载的逻辑。

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

@dosubot[bot] commented on GitHub (Feb 24, 2025): <!-- Answer --> 在 WebApp 中设置语言为简体中文时,"新的对话" 显示为 "New conversation" 的问题可能与翻译文件或语言设置有关。虽然我没有找到具体的代码位置来管理 UI 文本翻译,但可以检查以下几点: 1. **翻译文件**:确保简体中文的翻译文件中包含 "新的对话" 的正确翻译。 2. **默认语言设置**:检查 `config/index.ts` 文件中的 `default_language` 设置,确保其设置为 `'zh-Hans'`<sup>[[1]](https://github.com/langgenius/dify-docs/blob/main/en/guides/application-publishing/based-on-frontend-templates.md)</sup>。 3. **语言切换逻辑**:确认应用程序在切换语言时正确加载了相应的翻译文件。 如果这些检查没有解决问题,可能需要进一步查看代码中如何处理语言切换和翻译加载的逻辑。 <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/2c2fe89d-f7fb-4c3c-a834-3f1ec06d5920?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/2c2fe89d-f7fb-4c3c-a834-3f1ec06d5920?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/2c2fe89d-f7fb-4c3c-a834-3f1ec06d5920?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/2c2fe89d-f7fb-4c3c-a834-3f1ec06d5920?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2c2fe89d-f7fb-4c3c-a834-3f1ec06d5920?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/2c2fe89d-f7fb-4c3c-a834-3f1ec06d5920?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/2c2fe89d-f7fb-4c3c-a834-3f1ec06d5920?feedback_type=other)</sup>
Author
Owner

@xiaobai1990zhan commented on GitHub (Feb 24, 2025):

和翻译和设置没关系,是bug,请修复

Image

@xiaobai1990zhan commented on GitHub (Feb 24, 2025): 和翻译和设置没关系,是bug,请修复 ![Image](https://github.com/user-attachments/assets/3fe74691-474a-425a-b499-5036464f8037)
Author
Owner

@fengniaoyunxi commented on GitHub (Feb 24, 2025):

确实有这个问题,看看是否有解决方案

@fengniaoyunxi commented on GitHub (Feb 24, 2025): 确实有这个问题,看看是否有解决方案
Author
Owner

@David885L2 commented on GitHub (Mar 3, 2025):

这个有解决方案了吗?

@David885L2 commented on GitHub (Mar 3, 2025): 这个有解决方案了吗?
Author
Owner

@HanqingZ commented on GitHub (Mar 5, 2025):

如果初次访问的问题内容过长就会导致这样的问题,那是因为 title 是 system model 生成的。
建议缩短输入的内容再试一下。↓
https://github.com/langgenius/dify/pull/14247

@HanqingZ commented on GitHub (Mar 5, 2025): 如果初次访问的问题内容过长就会导致这样的问题,那是因为 title 是 system model 生成的。 建议缩短输入的内容再试一下。↓ https://github.com/langgenius/dify/pull/14247
Author
Owner

@toLOVEmy commented on GitHub (Mar 16, 2025):

也遇到这个问题了,有解决办法了吗

@toLOVEmy commented on GitHub (Mar 16, 2025): 也遇到这个问题了,有解决办法了吗
Author
Owner

@hiwuye commented on GitHub (Mar 18, 2025):

这个问题好奇怪,官方在有些issue说是使用deepseekR1的问题,但我使用的是qwq,在这里又说修复了。但就没正常过。还是一直是new conversation。

@hiwuye commented on GitHub (Mar 18, 2025): 这个问题好奇怪,官方在有些issue说是使用deepseekR1的问题,但我使用的是qwq,在这里又说修复了。但就没正常过。还是一直是new conversation。
Author
Owner

@NINE9-9-9 commented on GitHub (Mar 24, 2025):

设置中默认模型设置成Qwen非推理模型就能显示中文

@NINE9-9-9 commented on GitHub (Mar 24, 2025): 设置中默认模型设置成Qwen非推理模型就能显示中文
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-docs-archived#78