diff options
| author | 2023-03-04 16:14:31 +0100 | |
|---|---|---|
| committer | 2023-03-04 16:14:31 +0100 | |
| commit | 58fa92f5ac9bb661769ed7c4ed5e37a19f50f3cc (patch) | |
| tree | 539f02debbc52fe10e715059ab231c30b3845be1 | |
| parent | Update README.md (diff) | |
Update i18n.ts
Signed-off-by: Joseph Garrone <[email protected]>
| -rw-r--r-- | src/keycloak-theme/i18n.ts | 4 |
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", |