Task #69416
closedmake AbstractPlugin::pi_loadLL load labels from custom file
100%
Description
Right now AbstractPlugin::pi_loadLL looks for hardcoded
language.xml file in the scirpt directory "scriptRelPath".
'EXT:' . $this->extKey . '/' . dirname($this->scriptRelPath) . '/locallang.xlf';
This doesn't allow to use Extbase like structure for pi-based extensions (placing language lables in Resources/Private/Language
In few places in the core, we still keep scriptRelPath containing wrong value (script location and name has already changed during namespace change). And the only reason for it is that we need this property for loading language files.
The solution would be to make AbstractPlugin::pi_loadLL take an optional argument pointing to the correct loaction of the language file.
Updated by Gerrit Code Review about 9 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42934
Updated by Gerrit Code Review about 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42934
Updated by Gerrit Code Review about 9 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42934
Updated by Gerrit Code Review about 9 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42934
Updated by Gerrit Code Review about 9 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42934
Updated by Gerrit Code Review about 9 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42934
Updated by Tymoteusz Motylewski about 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4dd593e4f9cc83521cab61732f457bb21a9a57a9.