From 457c0a83e33e303c2f798f3174a57007ce521ced Mon Sep 17 00:00:00 2001 From: tmassimi Date: Thu, 7 Nov 2024 20:15:06 +0100 Subject: [PATCH 1/2] Update locale-codes.ts added Italian Signed-off-by: tmassimi --- web/src/locale-codes.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/src/locale-codes.ts b/web/src/locale-codes.ts index 58fedc38eac6..28d514ca1b7a 100644 --- a/web/src/locale-codes.ts +++ b/web/src/locale-codes.ts @@ -15,6 +15,7 @@ export const targetLocales = [ `en`, `es`, `fr`, + `it`, `ko`, `nl`, `pl`, @@ -36,6 +37,7 @@ export const allLocales = [ `en`, `es`, `fr`, + `it`, `ko`, `nl`, `pl`, From 49e78f644bf6de5e1c1d0d1333baec4b8598a3c7 Mon Sep 17 00:00:00 2001 From: tmassimi Date: Thu, 7 Nov 2024 20:16:57 +0100 Subject: [PATCH 2/2] Update definitions.ts added Italian Signed-off-by: tmassimi --- web/src/elements/ak-locale-context/definitions.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/elements/ak-locale-context/definitions.ts b/web/src/elements/ak-locale-context/definitions.ts index 76eafccf6ea1..e3fac29db1b9 100644 --- a/web/src/elements/ak-locale-context/definitions.ts +++ b/web/src/elements/ak-locale-context/definitions.ts @@ -46,6 +46,7 @@ const LOCALE_TABLE: LocaleRow[] = [ ["es", /^es([_-]|$)/i, () => msg("Spanish"), async () => await import("@goauthentik/locales/es")], ["de", /^de([_-]|$)/i, () => msg("German"), async () => await import("@goauthentik/locales/de")], ["fr", /^fr([_-]|$)/i, () => msg("French"), async () => await import("@goauthentik/locales/fr")], + ["it", /^it([_-]|$)/i, () => msg("Italian"), async () => await import("@goauthentik/locales/it")], ["ko", /^ko([_-]|$)/i, () => msg("Korean"), async () => await import("@goauthentik/locales/ko")], ["nl", /^nl([_-]|$)/i, () => msg("Dutch"), async () => await import("@goauthentik/locales/nl")], ["pl", /^pl([_-]|$)/i, () => msg("Polish"), async () => await import("@goauthentik/locales/pl")],