diff --git a/typo3/sysext/install/Classes/Service/LanguagePackService.php b/typo3/sysext/install/Classes/Service/LanguagePackService.php index f19df567240b292a9cd54cf0f1ecbd0a43772491..002a8e19d25223493b1862f20d2487f942153d46 100644 --- a/typo3/sysext/install/Classes/Service/LanguagePackService.php +++ b/typo3/sysext/install/Classes/Service/LanguagePackService.php @@ -234,7 +234,8 @@ class LanguagePackService $packageUrl = $key[0] . '/' . $key[1] . '/' . $key . '-l10n/' . $key . '-l10n-' . $iso . '.zip'; } - $absoluteExtractionPath = GeneralUtility::getFileAbsFileName('typo3conf/l10n/' . $iso . '/' . $key . '/'); + $absoluteLanguagePath = GeneralUtility::getFileAbsFileName('typo3conf/l10n/' . $iso . '/'); + $absoluteExtractionPath = $absoluteLanguagePath . $key . '/'; $absolutePathToZipFile = Environment::getVarPath() . '/transient/' . $key . '-l10n-' . $iso . '.zip'; $packExists = is_dir($absoluteExtractionPath); @@ -253,7 +254,7 @@ class LanguagePackService GeneralUtility::mkdir_deep(Environment::getVarPath() . '/transient/'); $operationResult = GeneralUtility::writeFileToTypo3tempDir($absolutePathToZipFile, $languagePackContent) === null; } - $this->unzipTranslationFile($absolutePathToZipFile, $absoluteExtractionPath); + $this->unzipTranslationFile($absolutePathToZipFile, $absoluteLanguagePath); if ($operationResult) { $operationResult = unlink($absolutePathToZipFile); }