mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
fix: respect the interface language specified by the user on the activation success screen (#5258)
This commit is contained in:
1 parent
4b54843ed7
commit
37c87164dc
1 file changed
+1
-1
@@ -86,7 +86,7 @@ const ActivateForm = () => {
|
||||
timezone,
|
||||
},
|
||||
})
|
||||
setLocaleOnClient(language.startsWith('en') ? 'en-US' : 'zh-Hans', false)
|
||||
setLocaleOnClient(language, false)
|
||||
setShowSuccess(true)
|
||||
}
|
||||
catch {
|
||||
|
||||
Reference in new issue
Block a user