Skip to content

Commit cd258f5

Browse files
committed
fix: Fixed the issue where the system language setting could not take effect
1 parent d762484 commit cd258f5

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "deep-research",
33
"description": "Use any LLMs (Large Language Models) for Deep Research. Support SSE API and MCP server.",
4-
"version": "0.9.14",
4+
"version": "0.9.15",
55
"license": "MIT",
66
"repository": {
77
"url": "https://github.com/u14app/deep-research"

src/components/Provider/I18n.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ function I18Provider({ children }: { children: React.ReactNode }) {
99

1010
useLayoutEffect(() => {
1111
const settingStore = useSettingStore.getState();
12-
if (language === "") {
12+
if (settingStore.language === "") {
1313
const browserLang = detectLanguage();
1414
settingStore.update({ language: browserLang });
1515
i18n.changeLanguage(browserLang);

0 commit comments

Comments
 (0)