From 78a8a4adc5cc860487efc239f8d4454c0d259174 Mon Sep 17 00:00:00 2001 From: Christoph Leistert <39339428+leischt@users.noreply.github.com> Date: Fri, 10 Jun 2022 20:38:19 +0200 Subject: [PATCH] Closes #11851 Use new parameter useRealmDefaultLocaleFallback when fetching the realm localization texts (#2577) --- src/i18n.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/i18n.ts b/src/i18n.ts index 131732f5af..afaed714af 100644 --- a/src/i18n.ts +++ b/src/i18n.ts @@ -17,7 +17,7 @@ const initOptions = async ( ): Promise => { const constructLoadPath: LoadPathOption = (_, namespaces) => { if (namespaces[0] === "overrides") { - return `/admin/realms/${adminClient.realmName}/localization/{{lng}}`; + return `/admin/realms/${adminClient.realmName}/localization/{{lng}}?useRealmDefaultLocaleFallback=true`; } else { return `${environment.resourceUrl}/resources/{{lng}}/{{ns}}.json`; }