diff --git a/Classes/Domain/Service/TranslationFileService.php b/Classes/Domain/Service/TranslationFileService.php index f7eac5d..cc26b57 100644 --- a/Classes/Domain/Service/TranslationFileService.php +++ b/Classes/Domain/Service/TranslationFileService.php @@ -123,6 +123,7 @@ public function createMissingFiles($language, $copyLabels = true) if ($copyLabels === true) { foreach ($translationFile->getTranslations() as $translation) { if ($l10nTranslationFile->hasOwnTranslation($translation)) { + $l10nTranslationFile->getOwnTranslation($translation)->replaceTranslationSourceByOtherTranslation($translation); continue; } $l10nTranslationFile->addTranslation($translation);