Closes #11851 Use new parameter useRealmDefaultLocaleFallback when fetching the realm localization texts (#2577)
This commit is contained in:
parent
274ec62b5d
commit
78a8a4adc5
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ const initOptions = async (
|
|||
): Promise<InitOptions> => {
|
||||
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`;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue