mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 18:35:58 +08:00
fix: respect the interface language specified by the user on the activation success screen (#5258)
This commit is contained in:
parent
4b54843ed7
commit
37c87164dc
@ -86,7 +86,7 @@ const ActivateForm = () => {
|
|||||||
timezone,
|
timezone,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
setLocaleOnClient(language.startsWith('en') ? 'en-US' : 'zh-Hans', false)
|
setLocaleOnClient(language, false)
|
||||||
setShowSuccess(true)
|
setShowSuccess(true)
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user