Actions
Bug #70717
closedTranslations for 6.2 are loaded on Windows because incorrectly DIRECTORY_SEPARATOR is used in a check
Start date:
2015-10-14
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
In \TYPO3\CMS\Lang\Service\TerService::fetchTranslation() a check is done to see if translations for a system extension is downloaded. This checks if /sysext/ is part of the path to the extension.
The actual check uses the constant DIRECTORY_SEPARATOR around 'sysext', which is a backslash on Windows and a forward slash on most other systems.
The extension path however always contains forward slashes.
The check thus fails on Windows and translations for 6.2 are downloaded. This is problematic for the extra labels and for the language files which have been moved to other locations in 7.x
Actions