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> => {
|
): Promise<InitOptions> => {
|
||||||
const constructLoadPath: LoadPathOption = (_, namespaces) => {
|
const constructLoadPath: LoadPathOption = (_, namespaces) => {
|
||||||
if (namespaces[0] === "overrides") {
|
if (namespaces[0] === "overrides") {
|
||||||
return `/admin/realms/${adminClient.realmName}/localization/{{lng}}`;
|
return `/admin/realms/${adminClient.realmName}/localization/{{lng}}?useRealmDefaultLocaleFallback=true`;
|
||||||
} else {
|
} else {
|
||||||
return `${environment.resourceUrl}/resources/{{lng}}/{{ns}}.json`;
|
return `${environment.resourceUrl}/resources/{{lng}}/{{ns}}.json`;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue