After clicking on the exploration workflow, the language automatically changes from Chinese to English #15838

Closed
opened 2026-02-21 19:23:35 -05:00 by yindo · 9 comments
Owner

Originally created by @kuku-jiusgan on GitHub (Aug 1, 2025).

Originally assigned to: @WTW0313, @crazywoola on GitHub.

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.70+1.71

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

After clicking on the exploration workflow, the language automatically changes from Chinese to English

✔️ Expected Behavior

After setting Chinese, it should always display Chinese

Actual Behavior

No response

Originally created by @kuku-jiusgan on GitHub (Aug 1, 2025). Originally assigned to: @WTW0313, @crazywoola on GitHub. ### Self Checks - [x] I have read the [Contributing Guide](https://github.com/langgenius/dify/blob/main/CONTRIBUTING.md) and [Language Policy](https://github.com/langgenius/dify/issues/1542). - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report, otherwise it will be closed. - [x] 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.70+1.71 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce After clicking on the exploration workflow, the language automatically changes from Chinese to English ### ✔️ Expected Behavior After setting Chinese, it should always display Chinese ### ❌ Actual Behavior _No response_
yindo closed this issue 2026-02-21 19:23:35 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 1, 2025):

This is a known issue in recent Dify versions: when you enter the exploration workflow, the language can switch from Chinese to English if the language context isn't properly propagated. Dify manages language preference using a locale cookie, but workflow pages don't always reaffirm or persist the language setting, so the UI may fall back to English if the cookie is missing or not read correctly example.

Some users have worked around similar issues by making sure the locale cookie is set to zh-Hans and that both the platform and app language settings are set to Chinese example. You can try clearing your browser cookies, setting the language to Chinese again, and then reloading the page before entering the workflow. If you are self-hosted and offline, make sure your server can access the template resources for Chinese, or else it may default to English example.

There is no official fix yet for workflow navigation language persistence in 1.70/1.71, but this limitation has been reported by others and is likely to be addressed in a future update. For now, double-check your language settings in both the platform and app, and ensure the locale cookie is present and correct.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 1, 2025): <!-- Answer --> This is a known issue in recent Dify versions: when you enter the exploration workflow, the language can switch from Chinese to English if the language context isn't properly propagated. Dify manages language preference using a `locale` cookie, but workflow pages don't always reaffirm or persist the language setting, so the UI may fall back to English if the cookie is missing or not read correctly [example](https://github.com/langgenius/dify/blob/bc18d4d1b9a3b2ed5c819ec4c64da91551189626/web/i18n-config/server.ts). Some users have worked around similar issues by making sure the `locale` cookie is set to `zh-Hans` and that both the platform and app language settings are set to Chinese [example](https://github.com/langgenius/dify/issues/14278). You can try clearing your browser cookies, setting the language to Chinese again, and then reloading the page before entering the workflow. If you are self-hosted and offline, make sure your server can access the template resources for Chinese, or else it may default to English [example](https://github.com/langgenius/dify/issues/18408). There is no official fix yet for workflow navigation language persistence in 1.70/1.71, but this limitation has been reported by others and is likely to be addressed in a future update. For now, double-check your language settings in both the platform and app, and ensure the `locale` cookie is present and correct. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/09fee6f5-74ff-4cbd-afd9-fa2c72a0c172?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/09fee6f5-74ff-4cbd-afd9-fa2c72a0c172?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/09fee6f5-74ff-4cbd-afd9-fa2c72a0c172?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/09fee6f5-74ff-4cbd-afd9-fa2c72a0c172?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/09fee6f5-74ff-4cbd-afd9-fa2c72a0c172?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/09fee6f5-74ff-4cbd-afd9-fa2c72a0c172?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/09fee6f5-74ff-4cbd-afd9-fa2c72a0c172?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/23293)
Author
Owner

@kuku-jiusgan commented on GitHub (Aug 2, 2025):

@dosu
Checking cookies is also in Chinese
Image

@kuku-jiusgan commented on GitHub (Aug 2, 2025): @dosu Checking cookies is also in Chinese <img width="1576" height="734" alt="Image" src="https://github.com/user-attachments/assets/6db4a869-3d5d-4f5c-8631-014a77862bb5" />
Author
Owner

@kuku-jiusgan commented on GitHub (Aug 2, 2025):

It's not that the workflow page is changed to English, but the entire Dify global is changed to English. The setting is set to Chinese, and it will only change to Chinese when it is set to global Chinese again. However, as long as you click on the workflow, it will immediately change to English again.

@kuku-jiusgan commented on GitHub (Aug 2, 2025): It's not that the workflow page is changed to English, but the entire Dify global is changed to English. The setting is set to Chinese, and it will only change to Chinese when it is set to global Chinese again. However, as long as you click on the workflow, it will immediately change to English again.
Author
Owner

@dosubot[bot] commented on GitHub (Aug 2, 2025):

Thanks for confirming the cookie and app language settings are both set to Chinese. This issue happens because the workflow/explore pages in Dify don't always reaffirm the language context, so even with the correct cookie, the UI can fall back to English if the i18n context is lost during navigation (details). A full page reload after setting the language usually restores the correct context. If the problem persists, check your browser console and server logs for any i18n or cookie-related errors when switching pages. This is a known limitation in 1.70/1.71 and may require a future update for a permanent fix.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 2, 2025): <!-- Answer --> Thanks for confirming the cookie and app language settings are both set to Chinese. This issue happens because the workflow/explore pages in Dify don't always reaffirm the language context, so even with the correct cookie, the UI can fall back to English if the i18n context is lost during navigation ([details](https://github.com/langgenius/dify/issues/23292)). A full page reload after setting the language usually restores the correct context. If the problem persists, check your browser console and server logs for any i18n or cookie-related errors when switching pages. This is a known limitation in 1.70/1.71 and may require a future update for a permanent fix. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/e47eb7c9-b407-41fe-b81c-8e89517f1606?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/e47eb7c9-b407-41fe-b81c-8e89517f1606?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/e47eb7c9-b407-41fe-b81c-8e89517f1606?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/e47eb7c9-b407-41fe-b81c-8e89517f1606?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/e47eb7c9-b407-41fe-b81c-8e89517f1606?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/e47eb7c9-b407-41fe-b81c-8e89517f1606?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/e47eb7c9-b407-41fe-b81c-8e89517f1606?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/23293)
Author
Owner

@kuku-jiusgan commented on GitHub (Aug 2, 2025):

@dosu

Browser error:Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
explore/installed/069c55af-5f05-4c87-ba12-a41c251f7051:1  Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
explore/installed/069c55af-5f05-4c87-ba12-a41c251f7051:1  Error handling response: TypeError: Cannot read properties of undefined (reading 'isM3U8Video')
    at chrome-extension://ncennffkjdiamlpmcbajkmaiiiddgioo/assets/content.js-c1c147bd.js:1:42635
explore/installed/069c55af-5f05-4c87-ba12-a41c251f7051:1  Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received
@kuku-jiusgan commented on GitHub (Aug 2, 2025): @dosu ``` Browser error:Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received explore/installed/069c55af-5f05-4c87-ba12-a41c251f7051:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received explore/installed/069c55af-5f05-4c87-ba12-a41c251f7051:1 Error handling response: TypeError: Cannot read properties of undefined (reading 'isM3U8Video') at chrome-extension://ncennffkjdiamlpmcbajkmaiiiddgioo/assets/content.js-c1c147bd.js:1:42635 explore/installed/069c55af-5f05-4c87-ba12-a41c251f7051:1 Unchecked runtime.lastError: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received ```
Author
Owner

@dosubot[bot] commented on GitHub (Aug 2, 2025):

The browser errors you’re seeing are from a Chrome extension and not related to Dify’s language switching issue. Disabling that extension should remove those error messages, but it won’t fix the language problem.

The language switching bug is a known issue in Dify 1.70/1.71. It happens because the i18n (language) context isn’t always properly propagated when navigating to workflow/explore pages, so the UI can revert to English even if your cookie and settings are correct. As a workaround, after setting the language to Chinese, do a full page reload before entering the workflow/explore page to restore the correct language context. A permanent fix will likely require a future Dify update to improve language context handling during workflow navigation.

If you see any Dify-specific errors in the console or server logs when the language switches, feel free to share them.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub (Aug 2, 2025): <!-- Answer --> The browser errors you’re seeing are from a Chrome extension and not related to Dify’s language switching issue. Disabling that extension should remove those error messages, but it won’t fix the language problem. The language switching bug is a known issue in Dify 1.70/1.71. It happens because the i18n (language) context isn’t always properly propagated when navigating to workflow/explore pages, so the UI can revert to English even if your cookie and settings are correct. As a workaround, after setting the language to Chinese, do a full page reload before entering the workflow/explore page to restore the correct language context. A permanent fix will likely require a future Dify update to improve language context handling during workflow navigation. If you see any Dify-specific errors in the console or server logs when the language switches, feel free to share them. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/c0a75111-c7fa-40a6-96f0-698d73367515?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/c0a75111-c7fa-40a6-96f0-698d73367515?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/c0a75111-c7fa-40a6-96f0-698d73367515?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/c0a75111-c7fa-40a6-96f0-698d73367515?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/c0a75111-c7fa-40a6-96f0-698d73367515?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/c0a75111-c7fa-40a6-96f0-698d73367515?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/c0a75111-c7fa-40a6-96f0-698d73367515?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/6088a4f4-073a-43f3-b3d4-4f06fb0c05a0/ask?utm_source=github)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/langgenius/dify/issues/23293)
Author
Owner

@crazywoola commented on GitHub (Aug 2, 2025):

I can not reproduce this error, also as the bot's replied, those errors are not related to Dify itself.

Maybe you can record a video to demonstrate this behavior.

@crazywoola commented on GitHub (Aug 2, 2025): I can not reproduce this error, also as the bot's replied, those errors are not related to Dify itself. Maybe you can record a video to demonstrate this behavior.
Author
Owner

@kuku-jiusgan commented on GitHub (Aug 2, 2025):

@crazywoola
I have tried Edge and it is the same. And 1.60 does not have this issue

https://github.com/user-attachments/assets/a6fbe4cb-6cdd-4776-8ca3-6fd0366a3b25

@kuku-jiusgan commented on GitHub (Aug 2, 2025): @crazywoola I have tried Edge and it is the same. And 1.60 does not have this issue https://github.com/user-attachments/assets/a6fbe4cb-6cdd-4776-8ca3-6fd0366a3b25
Author
Owner

@0Knot commented on GitHub (Aug 2, 2025):

1.7.1 Encountered the same problem

@0Knot commented on GitHub (Aug 2, 2025): 1.7.1 Encountered the same problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#15838