From 58fa92f5ac9bb661769ed7c4ed5e37a19f50f3cc Mon Sep 17 00:00:00 2001 From: Joseph Garrone Date: Sat, 4 Mar 2023 16:14:31 +0100 Subject: [PATCH] Update i18n.ts Signed-off-by: Joseph Garrone --- src/keycloak-theme/i18n.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/keycloak-theme/i18n.ts b/src/keycloak-theme/i18n.ts index d917b5d..3b89a1e 100644 --- a/src/keycloak-theme/i18n.ts +++ b/src/keycloak-theme/i18n.ts @@ -6,6 +6,10 @@ export function useI18n(props: Props) { const { kcContext } = props; return useI18nBase({ 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": { "en": { "alphanumericalCharsOnly": "Only alphanumerical characters",