Update i18n.ts
Signed-off-by: Joseph Garrone <joseph.garrone.gj@gmail.com>
This commit is contained in:
parent
7c57a2a29e
commit
58fa92f5ac
@ -6,6 +6,10 @@ export function useI18n(props: Props) {
|
|||||||
const { kcContext } = props;
|
const { kcContext } = props;
|
||||||
return useI18nBase({
|
return useI18nBase({
|
||||||
kcContext,
|
kcContext,
|
||||||
|
// NOTE: Here you can override the default i18n messages
|
||||||
|
// or define new ones that, for example, you would have
|
||||||
|
// defined in the Keycloak admin UI for UserProfile
|
||||||
|
// https://user-images.githubusercontent.com/6702424/182050652-522b6fe6-8ee5-49df-aca3-dba2d33f24a5.png
|
||||||
"extraMessages": {
|
"extraMessages": {
|
||||||
"en": {
|
"en": {
|
||||||
"alphanumericalCharsOnly": "Only alphanumerical characters",
|
"alphanumericalCharsOnly": "Only alphanumerical characters",
|
||||||
|
Loading…
Reference in New Issue
Block a user