aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keycloak-theme/i18n.ts4
1 files changed, 4 insertions, 0 deletions
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",