Keycloak 国际化之动态修改不同语言
Keycloak About 1,253 words修改步骤
- 选择
Realm
- 点击左侧菜单
Realm Settings
- 顶部
Tab
页选择Localization
Supported locales
中增加中文(中国)- 下方
Edit message bundles
中选择中文(中国) - 点击
Add message bundle
添加对应的Key
和Value
- 对应的
Key
可以从GitHub
中找到
部分键值示例
doLogIn=Sign In
doRegister=Register
doCancel=Cancel
doSubmit=Submit
doBack=Back
doYes=Yes
doNo=No
doContinue=Continue
doIgnore=Ignore
doAccept=Accept
doDecline=Decline
doForgotPassword=Forgot Password?
doClickHere=Click here
doImpersonate=Impersonate
doTryAgain=Try again
doTryAnotherWay=Try Another Way
doConfirmDelete=Confirm deletion
errorDeletingAccount=Error happened while deleting account
deletingAccountForbidden=You do not have enough permissions to delete your own account, contact admin.
kerberosNotConfigured=Kerberos Not Configured
kerberosNotConfiguredTitle=Kerberos Not Configured
bypassKerberosDetail=Either you are not logged in by Kerberos or your browser is not set up for Kerberos login. Please click continue to login in through other means
kerberosNotSetUp=Kerberos is not set up. You cannot login.
registerTitle=Register
loginAccountTitle=Sign in to your account
更多变量
https://github.com/keycloak/keycloak/tree/main/themes/src/main/resources/theme/base/login/messages
https://github.com/keycloak/keycloak/tree/main/themes/src/main/resources/theme/base
Views: 937 · Posted: 2023-11-23
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb/LiteNote扫描下方二维码关注公众号和小程序↓↓↓
Loading...