diff --git a/src/core/services/lang.ts b/src/core/services/lang.ts index ec7777d3f..21bea66ba 100644 --- a/src/core/services/lang.ts +++ b/src/core/services/lang.ts @@ -599,7 +599,10 @@ export class CoreLangProvider { // Merge parent translations with the child ones. const parentTranslations = Translate.translations[fallbackLang] ?? await this.readLangFile(fallbackLang); - const mergedData = Object.assign(parentTranslations, data); + const mergedData = { + ...parentTranslations, + ...data, + }; Object.assign(data, mergedData); } catch {