Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: respect the interface language specified by the user on the activation success screen (#5258)

kurokobo37c87164dc46
diff --git a/web/app/activate/activateForm.tsx b/web/app/activate/activateForm.tsx
index 7d0404d69dc..a790d2a9c7e 100644
--- a/web/app/activate/activateForm.tsx
+++ b/web/app/activate/activateForm.tsx
@@ -86,7 +86,7 @@ const ActivateForm = () => {
timezone,
},
})
- setLocaleOnClient(language.startsWith('en') ? 'en-US' : 'zh-Hans', false)
+ setLocaleOnClient(language, false)
setShowSuccess(true)
}
catch {