#63755LocalizationUtility and $extensionName
Description
Class \TYPO3\CMS\Extbase\Utility\LocalizationUtility uses variable $extensionName in a few places. I think that variable should be called $extensionKey.
F.e. method initializeLocalization contains such line:
$locallangPathAndFilename = 'EXT:' . \TYPO3\CMS\Core\Utility\GeneralUtility::camelCaseToLowerCaseUnderscored($extensionName) . '/' . self::$locallangPath . 'locallang.xml';
In case of my extension “Mobile Detector” (key: “tk_mobiledetector”) name $extensionName leads to errors. Because
$locallangPathAndFilename = 'EXT:mobile detector/Resources/Private/Language/locallang.xml';
where path doesn’t exist.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.